800
How can I change the color for a particular bar

G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TVariant("B1"),TNoParam());
	long h = var_Items->AddItem(TVariant("Item 2"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,4).operator double()),TVariant(TDateTime(2001,1,6).operator double()),TVariant("B2"),TNoParam());
	var_Items->set_ItemBar(h,TVariant("B2"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarColor,TVariant(255));
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 3")),TVariant("Task"),TVariant(TDateTime(2001,1,6).operator double()),TVariant(TDateTime(2001,1,14).operator double()),TVariant("B3"),TNoParam());

799
How can I change the color or visual appearance using EBN files for a particular bar

G2antt1->VisualAppearance->Add(1,TVariant(String("gBFLBCJwBAEHhEJAEGg4BGoCg6AADACAxRDAMgBQKAAzQFAYZhhBaERiGEaIJhUAIIRZGMQxXAcMQvDSKQJhGLhQiSJoJDSBEgSXDIZQ5D6OZYACDJQACJYJTbAYzyP") +
"JkPRAA6EZCmGAwCglf5HABRb7xNLkbQ8GySKJnWCQJhoD5BSLCNRUTRFFQtGgZBpEWwLCjQNQwWLKFoTJIEPSBDKqYDoKYqTgOOZOThHQz3HakQRdAa/ZpnaKpUo2d47" +
"XjMWBwGA0EzeAAGaxoShqdoiFaGU7UOJVJBOGwHK6BchoMAKbp6XoVWRaOAWLZWVABM7XLZxbLccyGfZ1XhdV5UbqUMznR7PNrjLKIJpCOJbbyAFwgBaeQABYLhK7iHR" +
"mi8XYwjMWpjFWOx1GIB5LmgdB4HCEBECSIBpDGHQOicIwokYPImikEIJj6eJIloEgogSc40FGcJEFiYZIG2VIoAURw1g2QxyAQNwNAMPJOgIYI4CoDIBmAeAKBIUpQDU" +
"KJYDoTpIB4vxgmgdgNgeYZDDoFw7CEJhQn+BohmKfImCWSZRlgYwikYMQ0gwF4DniTA/gwBJYjQYwsgoIg6AyCRQDiIJODAZBImoOguAmMZ4lQLIJjOMI3CYZJpEIT4K" +
"iKSI6DqD5ZGAAgHC2DAjBYR4SGUGYGE+GIlCmFhRhIB5iFAbwWsiJgMhoCoxngV4ZCcSYOHaGYnHmIg8COJpoCoOISmSWZeHWHgoEkRoAg4EIYB4NogmiSgKg6GRjGoJ" +
"gFh+ZJKDaBYjmgaQygiBRUHmbhoDsTAyiqIIoioGoOw8aoKhKKoemeOIaAeF5HmqHoqiyKxKgYaN/locgBiuZRojoVIok8cwsjaMBLGqDoAhGIpoEYWYEmAIxUkQLZmg" +
"iYg2g2I4JiCQwuAqWIOIkEAQICA=="));
Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
	Exg2anttlib_tlb::IBarPtr var_Bar = var_Chart->Bars->get_Item(TVariant("Task"));
		var_Bar->Color = 0x1000000;
		var_Bar->Height = 16;
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TVariant("B1"),TNoParam());
	long h = var_Items->AddItem(TVariant("Item 2"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,4).operator double()),TVariant(TDateTime(2001,1,6).operator double()),TVariant("B2"),TNoParam());
	var_Items->set_ItemBar(h,TVariant("B2"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarColor,TVariant(255));
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 3")),TVariant("Task"),TVariant(TDateTime(2001,1,6).operator double()),TVariant(TDateTime(2001,1,14).operator double()),TVariant("B3"),TNoParam());

798
How can I resize programmatically a bar
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Item 1"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,4).operator double()),TVariant(TDateTime(2001,1,6).operator double()),TVariant("B2"),TNoParam());
	var_Items->set_ItemBar(h,TVariant("B2"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarDuration,TVariant(1));

797
How can I move programmatically a bar
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Item 1"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,4).operator double()),TVariant(TDateTime(2001,1,6).operator double()),TVariant("B2"),TNoParam());
	var_Items->set_ItemBar(h,TVariant("B2"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarMove,TVariant(-2));

796
How can I select displaying the histogram for an item and all its child items

G2antt1->BeginUpdate();
G2antt1->MarkSearchColumn = false;
G2antt1->ShowFocusRect = false;
G2antt1->Columns->Add(L"Tasks");
Exg2anttlib_tlb::IColumnPtr var_Column = G2antt1->Columns->Add(L"Hist");
	var_Column->set_Def(Exg2anttlib_tlb::DefColumnEnum::exCellHasCheckBox,TVariant(true));
	var_Column->PartialCheck = true;
	var_Column->AllowSizing = false;
	var_Column->Width = 18;
Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->LevelCount = 2;
	var_Chart->NonworkingDays = 0;
	var_Chart->set_PaneWidth(false,96);
	var_Chart->set_FirstVisibleDate(TVariant(TDateTime(2005,6,20).operator double()));
	var_Chart->HistogramVisible = true;
	var_Chart->HistogramView = Exg2anttlib_tlb::HistogramViewEnum(0x10000 | Exg2anttlib_tlb::HistogramViewEnum::exHistogramNoGrouping | Exg2anttlib_tlb::HistogramViewEnum::exHistogramRecLeafItems | Exg2anttlib_tlb::HistogramViewEnum::exHistogramLeafItems | Exg2anttlib_tlb::HistogramViewEnum::exHistogramUnlockedItems | Exg2anttlib_tlb::HistogramViewEnum::exHistogramCheckedItems);
	var_Chart->HistogramHeight = 64;
	Exg2anttlib_tlb::IBarPtr var_Bar = var_Chart->Bars->get_Item(TVariant("Task"));
		var_Bar->HistogramCriticalColor = RGB(255,0,0);
		var_Bar->HistogramPattern = Exg2anttlib_tlb::PatternEnum::exBezierCurve;
		var_Bar->HistogramType = Exg2anttlib_tlb::HistogramTypeEnum::exHistOverAllocation;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Project 1"));
	var_Items->AddBar(h,TVariant("Summary"),TVariant(TDateTime(2005,6,21).operator double()),TVariant(TDateTime(2005,7,1).operator double()),TNoParam(),TNoParam());
	long h1 = var_Items->InsertItem(h,TNoParam(),TVariant("Task 1"));
	var_Items->AddBar(h1,TVariant("Task"),TVariant(TDateTime(2005,6,21).operator double()),TVariant(TDateTime(2005,6,28).operator double()),TNoParam(),TNoParam());
	var_Items->set_CellMerge(TVariant(h1),TVariant(0),TVariant(1));
	var_Items->DefineSummaryBars(h,TVariant(""),h1,TVariant(""));
	h1 = var_Items->InsertItem(h,TNoParam(),TVariant("Task 2"));
	var_Items->AddBar(h1,TVariant("Task"),TVariant(TDateTime(2005,6,23).operator double()),TVariant(TDateTime(2005,7,1).operator double()),TVariant("E"),TNoParam());
	var_Items->set_CellMerge(TVariant(h1),TVariant(0),TVariant(1));
	var_Items->DefineSummaryBars(h,TVariant(""),h1,TVariant("E"));
	var_Items->set_ItemBar(h1,TVariant("E"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarEffort,TVariant(5));
	h1 = var_Items->InsertItem(h,TNoParam(),TVariant("Task 3"));
	var_Items->AddBar(h1,TVariant("Task"),TVariant(TDateTime(2005,6,25).operator double()),TVariant(TDateTime(2005,6,27).operator double()),TVariant("E"),TNoParam());
	var_Items->set_CellMerge(TVariant(h1),TVariant(0),TVariant(1));
	var_Items->DefineSummaryBars(h,TVariant(""),h1,TVariant("E"));
	var_Items->set_ExpandItem(h,true);
	var_Items->set_CellState(TVariant(h),TVariant(1),1);
	h = var_Items->AddItem(TVariant("Project 2"));
	var_Items->AddBar(h,TVariant("Summary"),TVariant(TDateTime(2005,6,26).operator double()),TVariant(TDateTime(2005,7,6).operator double()),TNoParam(),TNoParam());
	h1 = var_Items->InsertItem(h,TNoParam(),TVariant("Task 1"));
	var_Items->AddBar(h1,TVariant("Task"),TVariant(TDateTime(2005,6,26).operator double()),TVariant(TDateTime(2005,7,2).operator double()),TNoParam(),TNoParam());
	var_Items->set_CellMerge(TVariant(h1),TVariant(0),TVariant(1));
	var_Items->DefineSummaryBars(h,TVariant(""),h1,TVariant(""));
	h1 = var_Items->InsertItem(h,TNoParam(),TVariant("Task 2"));
	var_Items->AddBar(h1,TVariant("Task"),TVariant(TDateTime(2005,6,28).operator double()),TVariant(TDateTime(2005,7,6).operator double()),TVariant("E"),TNoParam());
	var_Items->set_CellMerge(TVariant(h1),TVariant(0),TVariant(1));
	var_Items->DefineSummaryBars(h,TVariant(""),h1,TVariant("E"));
	var_Items->set_ItemBar(h1,TVariant("E"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarEffort,TVariant(5));
	h1 = var_Items->InsertItem(h,TNoParam(),TVariant("Task 3"));
	var_Items->AddBar(h1,TVariant("Task"),TVariant(TDateTime(2005,6,30).operator double()),TVariant(TDateTime(2005,7,2).operator double()),TVariant("E"),TNoParam());
	var_Items->set_CellMerge(TVariant(h1),TVariant(0),TVariant(1));
	var_Items->DefineSummaryBars(h,TVariant(""),h1,TVariant("E"));
	var_Items->set_ExpandItem(h,true);
	var_Items->set_CellState(TVariant(h),TVariant(1),1);
G2antt1->EndUpdate();

795
How can I select or specify the items being included in the histogram, (using a different column )

G2antt1->BeginUpdate();
G2antt1->MarkSearchColumn = false;
Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
	var_Chart->HistogramVisible = true;
	var_Chart->HistogramView = Exg2anttlib_tlb::HistogramViewEnum(0x10000 | Exg2anttlib_tlb::HistogramViewEnum::exHistogramCheckedItems);
	var_Chart->HistogramHeight = 32;
	var_Chart->Bars->get_Item(TVariant("Task"))->HistogramPattern = Exg2anttlib_tlb::PatternEnum::exPatternBDiagonal;
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IColumnPtr var_Column = G2antt1->Columns->Add(L"Histogram");
	var_Column->set_Def(Exg2anttlib_tlb::DefColumnEnum::exCellHasCheckBox,TVariant(true));
	var_Column->AllowSizing = false;
	var_Column->Width = 18;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2001,1,3).operator double()),TVariant(TDateTime(2001,1,5).operator double()),TNoParam(),TNoParam());
	long h = var_Items->AddItem(TVariant("Item 2"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,4).operator double()),TVariant(TDateTime(2001,1,7).operator double()),TNoParam(),TNoParam());
	var_Items->set_CellState(TVariant(h),TVariant(1),1);
	h = var_Items->AddItem(TVariant("Item 3"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,5).operator double()),TNoParam(),TNoParam());
	var_Items->set_CellState(TVariant(h),TVariant(1),1);
G2antt1->EndUpdate();

794
How can I select or specify the items being included in the histogram

G2antt1->BeginUpdate();
Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
	var_Chart->HistogramVisible = true;
	var_Chart->HistogramView = Exg2anttlib_tlb::HistogramViewEnum::exHistogramCheckedItems;
	var_Chart->HistogramHeight = 32;
	var_Chart->Bars->get_Item(TVariant("Task"))->HistogramPattern = Exg2anttlib_tlb::PatternEnum::exPatternBDiagonal;
G2antt1->Columns->Add(L"Column")->set_Def(Exg2anttlib_tlb::DefColumnEnum::exCellHasCheckBox,TVariant(true));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2001,1,3).operator double()),TVariant(TDateTime(2001,1,5).operator double()),TNoParam(),TNoParam());
	long h = var_Items->AddItem(TVariant("Item 2"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,4).operator double()),TVariant(TDateTime(2001,1,7).operator double()),TNoParam(),TNoParam());
	var_Items->set_CellState(TVariant(h),TVariant(0),1);
	h = var_Items->AddItem(TVariant("Item 3"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,5).operator double()),TNoParam(),TNoParam());
	var_Items->set_CellState(TVariant(h),TVariant(0),1);
G2antt1->EndUpdate();

793
Is there any option to display the histogram for selected items only

G2antt1->BeginUpdate();
G2antt1->SingleSel = false;
Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
	var_Chart->HistogramVisible = true;
	var_Chart->HistogramView = Exg2anttlib_tlb::HistogramViewEnum::exHistogramSelectedItems;
	var_Chart->HistogramHeight = 32;
	var_Chart->Bars->get_Item(TVariant("Task"))->HistogramPattern = Exg2anttlib_tlb::PatternEnum::exPatternBDiagonal;
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2001,1,3).operator double()),TVariant(TDateTime(2001,1,5).operator double()),TNoParam(),TNoParam());
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 2")),TVariant("Task"),TVariant(TDateTime(2001,1,4).operator double()),TVariant(TDateTime(2001,1,7).operator double()),TNoParam(),TNoParam());
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 3")),TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,6).operator double()),TNoParam(),TNoParam());
	var_Items->SelectAll();
G2antt1->EndUpdate();

792
Is it possible to add bars to a summary bar so, they get resized or moved as soon as a bar is changed

G2antt1->BeginUpdate();
G2antt1->BackColor = RGB(255,255,255);
G2antt1->ShowFocusRect = false;
G2antt1->HasLines = Exg2anttlib_tlb::HierarchyLineEnum::exNoLine;
G2antt1->LinesAtRoot = Exg2anttlib_tlb::LinesAtRootEnum::exLinesAtRoot;
G2antt1->HasLines = Exg2anttlib_tlb::HierarchyLineEnum::exNoLine;
G2antt1->Indent = 14;
G2antt1->FullRowSelect = Exg2anttlib_tlb::CellSelectEnum::exColumnSel;
G2antt1->ScrollBySingleLine = true;
Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->BackColor = RGB(255,255,255);
	var_Chart->SelBackColor = RGB(245,245,245);
	var_Chart->AllowCreateBar = Exg2anttlib_tlb::CreateBarEnum::exNoCreateBar;
	var_Chart->AllowLinkBars = false;
	var_Chart->set_FirstVisibleDate(TVariant(TDateTime(2008,1,1).operator double()));
	var_Chart->LevelCount = 2;
	var_Chart->set_PaneWidth(false,98);
G2antt1->Columns->Add(L"");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long hProject = var_Items->AddItem(TVariant("Project"));
	var_Items->set_ItemHeight(hProject,26);
	var_Items->AddBar(hProject,TVariant("Project Summary"),TVariant(TDateTime(2008,1,2).operator double()),TVariant(TDateTime(2008,1,5).operator double()),TNoParam(),TNoParam());
	var_Items->set_ItemBar(hProject,TVariant(""),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarCaption,TVariant("<br>< <b>Project Summary</b> >"));
	long hR1 = var_Items->InsertItem(hProject,TNoParam(),TVariant("Team 1"));
	var_Items->set_ItemHeight(hR1,30);
	var_Items->AddBar(hR1,TVariant("Summary"),TVariant(TDateTime(2008,1,2).operator double()),TVariant(TDateTime(2008,1,8).operator double()),TNoParam(),TNoParam());
	var_Items->set_ItemBar(hR1,TVariant(""),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarCaption,TVariant("<br> Team <b>1</b> Summary "));
	long h1 = var_Items->InsertItem(hR1,TNoParam(),TVariant("Member 1"));
	var_Items->AddBar(h1,TVariant("Task"),TVariant(TDateTime(2008,1,2).operator double()),TVariant(TDateTime(2008,1,7).operator double()),TNoParam(),TNoParam());
	var_Items->DefineSummaryBars(hR1,TVariant(""),h1,TVariant(""));
	h1 = var_Items->InsertItem(hR1,TNoParam(),TVariant("Member 2"));
	var_Items->AddBar(h1,TVariant("Task"),TVariant(TDateTime(2008,1,4).operator double()),TVariant(TDateTime(2008,1,9).operator double()),TNoParam(),TNoParam());
	var_Items->DefineSummaryBars(hR1,TVariant(""),h1,TVariant(""));
	h1 = var_Items->InsertItem(hR1,TNoParam(),TVariant("Member 3"));
	var_Items->AddBar(h1,TVariant("Task"),TVariant(TDateTime(2008,1,5).operator double()),TVariant(TDateTime(2008,1,10).operator double()),TNoParam(),TNoParam());
	var_Items->DefineSummaryBars(hR1,TVariant(""),h1,TVariant(""));
	var_Items->set_ExpandItem(hR1,true);
	long hR2 = var_Items->InsertItem(hProject,TNoParam(),TVariant("Team 2"));
	var_Items->set_ItemHeight(hR2,30);
	var_Items->AddBar(hR2,TVariant("Summary"),TVariant(TDateTime(2008,1,2).operator double()),TVariant(TDateTime(2008,1,8).operator double()),TNoParam(),TNoParam());
	var_Items->set_ItemBar(hR2,TVariant(""),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarCaption,TVariant("<br> Team <b>2</b> Summary "));
	long h2 = var_Items->InsertItem(hR2,TNoParam(),TVariant("Member 1"));
	var_Items->AddBar(h2,TVariant("Task"),TVariant(TDateTime(2008,1,4).operator double()),TVariant(TDateTime(2008,1,7).operator double()),TNoParam(),TNoParam());
	var_Items->DefineSummaryBars(hR2,TVariant(""),h2,TVariant(""));
	h2 = var_Items->InsertItem(hR2,TNoParam(),TVariant("Member 2"));
	var_Items->AddBar(h2,TVariant("Task"),TVariant(TDateTime(2008,1,8).operator double()),TVariant(TDateTime(2008,1,11).operator double()),TNoParam(),TNoParam());
	var_Items->DefineSummaryBars(hR2,TVariant(""),h2,TVariant(""));
	h2 = var_Items->InsertItem(hR2,TNoParam(),TVariant("Member 3"));
	var_Items->AddBar(h2,TVariant("Task"),TVariant(TDateTime(2008,1,5).operator double()),TVariant(TDateTime(2008,1,12).operator double()),TNoParam(),TNoParam());
	var_Items->DefineSummaryBars(hR2,TVariant(""),h2,TVariant(""));
	var_Items->set_ExpandItem(hR2,true);
	var_Items->set_ExpandItem(var_Items->FirstVisibleItem,true);
	var_Items->DefineSummaryBars(hProject,TVariant(""),hR1,TVariant(""));
	var_Items->DefineSummaryBars(hProject,TVariant(""),hR2,TVariant(""));
G2antt1->EndUpdate();

791
Is it possible to define level in terms of just increasing numbers (not a Date)

Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->set_PaneWidth(false,32);
	var_Chart->UnitWidth = 32;
	var_Chart->set_FirstVisibleDate(TVariant(1000));
	var_Chart->get_Level(0)->set_Label(TVariant("<%i%>"));

790
How can I hide the non-working units ( days or hours )

G2antt1->BeginUpdate();
Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->set_PaneWidth(false,0);
	var_Chart->LevelCount = 2;
	Exg2anttlib_tlb::ILevelPtr var_Level = var_Chart->get_Level(0);
		var_Level->set_Label(TVariant("<%dddd%>"));
		var_Level->Alignment = Exg2anttlib_tlb::AlignmentEnum::CenterAlignment;
	var_Chart->get_Level(1)->set_Label(TVariant(65536));
	var_Chart->NonworkingHours = 16773375;
	var_Chart->ShowNonworkingUnits = false;
	var_Chart->ShowNonworkingDates = false;
	var_Chart->ShowNonworkingHours = false;
G2antt1->EndUpdate();

789
Is there a way to have the display show the word "Noon" instead "12:00 PM" in the chart's header/levels

Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->set_PaneWidth(false,0);
	var_Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1,10,00,00,0).operator double()));
	var_Chart->LevelCount = 3;
	Exg2anttlib_tlb::ILevelPtr var_Level = var_Chart->get_Level(0);
		var_Level->set_Label(TVariant("<b><%mmm%> <%d%>, <%yyyy%></b>"));
		var_Level->Alignment = Exg2anttlib_tlb::AlignmentEnum::CenterAlignment;
		var_Level->Unit = Exg2anttlib_tlb::UnitEnum::exDay;
	Exg2anttlib_tlb::ILevelPtr var_Level1 = var_Chart->get_Level(1);
		var_Level1->set_Label(TVariant("<%h%>:00 <%AM/PM%>"));
		var_Level1->Alignment = Exg2anttlib_tlb::AlignmentEnum::CenterAlignment;
		var_Level1->Unit = Exg2anttlib_tlb::UnitEnum::exHour;
		var_Level1->DrawTickLines = Exg2anttlib_tlb::LevelLineEnum::exLevelDefaultLine;
		var_Level1->DrawGridLines = true;
		var_Level1->set_ReplaceLabel(L"12:00 PM",L"<fgcolor=0000FF><b>Noon</b></fgcolor>");
	Exg2anttlib_tlb::ILevelPtr var_Level2 = var_Chart->get_Level(2);
		var_Level2->set_Label(TVariant(""));
		var_Level2->Unit = Exg2anttlib_tlb::UnitEnum::exMinute;
		var_Level2->Count = 15;

788
How can I change the selection background color in the chart area

G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
G2antt1->Chart->SelBackColor = RGB(255,0,0);
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TNoParam(),TNoParam());
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2001,1,6).operator double()),TVariant(TDateTime(2001,1,14).operator double()),TNoParam(),TNoParam());
	var_Items->set_SelectItem(var_Items->FirstVisibleItem,true);

787
How can I change the selection background color in the chart area

G2antt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
G2antt1->Chart->SelBackColor = 0x1000000;
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TNoParam(),TNoParam());
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2001,1,6).operator double()),TVariant(TDateTime(2001,1,14).operator double()),TNoParam(),TNoParam());
	var_Items->set_SelectItem(var_Items->FirstVisibleItem,true);

786
Is there any way to extend the selection on the chart

G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
G2antt1->Chart->SelBackColor = G2antt1->SelBackColor;
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TNoParam(),TNoParam());
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2001,1,6).operator double()),TVariant(TDateTime(2001,1,14).operator double()),TNoParam(),TNoParam());
	var_Items->set_SelectItem(var_Items->FirstVisibleItem,true);

785
How can I display the column's header using multiple lines

G2antt1->HeaderHeight = 128;
G2antt1->HeaderSingleLine = false;
G2antt1->Columns->Add(L"This is just a column that should break the header.")->Width = 32;
G2antt1->Columns->Add(L"This is just another column that should break the header.");

784
Can I move or limit moving or resizing a bar
G2antt1->BeginUpdate();
G2antt1->ScrollBySingleLine = true;
G2antt1->DrawGridLines = Exg2anttlib_tlb::GridLinesEnum::exAllLines;
G2antt1->DefaultItemHeight = 19;
G2antt1->GridLineColor = RGB(220,220,220);
Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
	var_Chart->set_ScrollRange(Exg2anttlib_tlb::ScrollRangeEnum::exStartDate,TVariant(TDateTime(2000,12,28).operator double()));
	var_Chart->set_ScrollRange(Exg2anttlib_tlb::ScrollRangeEnum::exEndDate,TVariant(TDateTime(2001,1,12).operator double()));
	var_Chart->DrawDateTicker = true;
	var_Chart->NonworkingDays = 0;
	var_Chart->DrawGridLines = Exg2anttlib_tlb::GridLinesEnum::exAllLines;
	var_Chart->ResizeUnitScale = Exg2anttlib_tlb::UnitEnum::exHour;
	var_Chart->AllowCreateBar = Exg2anttlib_tlb::CreateBarEnum::exNoCreateBar;
	var_Chart->set_PaneWidth(false,128);
	var_Chart->LevelCount = 2;
	var_Chart->get_Level(0)->DrawGridLines = false;
	var_Chart->AllowLinkBars = false;
	var_Chart->Bars->get_Item(TVariant("Task"))->OverlaidType = Exg2anttlib_tlb::OverlaidBarsTypeEnum::exOverlaidBarsStackAutoArrange | Exg2anttlib_tlb::OverlaidBarsTypeEnum::exOverlaidBarsStack;
G2antt1->Columns->Add(L"Info");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Fixed bar"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,5).operator double()),TVariant("F"),TNoParam());
	var_Items->set_ItemBar(h,TVariant("F"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarCanResize,TVariant(false));
	var_Items->set_ItemBar(h,TVariant("F"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarCanMove,TVariant(false));
	var_Items->set_ItemBar(h,TVariant("F"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarToolTip,TVariant("This bar is fixed, so the uer can move or resize it"));
	h = var_Items->AddItem(TVariant("Moveable but not-resizable bar"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,3).operator double()),TVariant(TDateTime(2001,1,6).operator double()),TVariant("F"),TNoParam());
	var_Items->set_ItemBar(h,TVariant("F"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarToolTip,TVariant("This bar is moveable inside the item, but the user can't resize it."));
	var_Items->set_ItemBar(h,TVariant("F"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarCanResize,TVariant(false));
	h = var_Items->AddItem(TVariant("Resizable but not moveable bar"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,3).operator double()),TVariant(TDateTime(2001,1,6).operator double()),TVariant("F"),TNoParam());
	var_Items->set_ItemBar(h,TVariant("F"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarToolTip,TVariant("This bar is resizable but the user can't move it."));
	var_Items->set_ItemBar(h,TVariant("F"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarCanMove,TVariant(false));
	h = var_Items->AddItem(TVariant("Range Moveable bar"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,6).operator double()),TVariant("F"),TNoParam());
	var_Items->set_ItemBar(h,TVariant("F"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarToolTip,TVariant("This bar can be moved inside the displayed range."));
	var_Items->set_ItemBar(h,TVariant("F"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarMinStart,TVariant(TDateTime(2001,1,2).operator double()));
	var_Items->set_ItemBar(h,TVariant("F"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarMaxEnd,TVariant(TDateTime(2001,1,8).operator double()));
	var_Items->set_ItemBar(h,TVariant("F"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarShowRange,TVariant(32));
	var_Items->set_ItemBar(h,TVariant("F"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarShowRangeTransparent,TVariant(90));
	h = var_Items->AddItem(TVariant("Range Moveable Upper No Limit bar"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,3).operator double()),TVariant(TDateTime(2001,1,6).operator double()),TVariant("F"),TNoParam());
	var_Items->set_ItemBar(h,TVariant("F"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarToolTip,TVariant("This bar can be moved inside the displayed range."));
	var_Items->set_ItemBar(h,TVariant("F"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarMinStart,TVariant(TDateTime(2001,1,2).operator double()));
	var_Items->set_ItemBar(h,TVariant("F"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarShowRange,TVariant(32));
	var_Items->set_ItemBar(h,TVariant("F"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarShowRangeTransparent,TVariant(90));
	h = var_Items->AddItem(TVariant("Range Moveable Lower No Limit bar"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,3).operator double()),TVariant(TDateTime(2001,1,6).operator double()),TVariant("F"),TNoParam());
	var_Items->set_ItemBar(h,TVariant("F"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarToolTip,TVariant("This bar can be moved inside the displayed range."));
	var_Items->set_ItemBar(h,TVariant("F"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarMaxEnd,TVariant(TDateTime(2001,1,8).operator double()));
	var_Items->set_ItemBar(h,TVariant("F"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarShowRange,TVariant(32));
	var_Items->set_ItemBar(h,TVariant("F"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarShowRangeTransparent,TVariant(90));
	h = var_Items->AddItem(TVariant("Moveable bar inside the item"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,6).operator double()),TVariant("F"),TNoParam());
	var_Items->set_ItemBar(h,TVariant("F"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarToolTip,TVariant("This bar can be moved/resized anywhere inside the item."));
	h = var_Items->AddItem(TVariant("Moveable bar to other items too"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,6).operator double()),TVariant("FA"),TNoParam());
	var_Items->set_ItemBar(h,TVariant("FA"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarToolTip,TVariant("This bar can be moved to other items too. Click the bar and move it to other items too."));
	var_Items->set_ItemBar(h,TVariant("FA"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarCaption,TVariant("free"));
	var_Items->set_ItemBar(h,TVariant("FA"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarHAlignCaption,TVariant(18));
	var_Items->set_ItemBar(h,TVariant("FA"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarCanMoveToAnother,TVariant(true));
	h = var_Items->AddItem(TVariant("Moveable inside item"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,3).operator double()),TVariant(TDateTime(2001,1,5).operator double()),TVariant("F1"),TNoParam());
	h = var_Items->AddItem(TVariant("Moveable inside item"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,3).operator double()),TVariant(TDateTime(2001,1,5).operator double()),TVariant("F1"),TNoParam());
	h = var_Items->AddItem(TVariant("Moveable inside item"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,3).operator double()),TVariant(TDateTime(2001,1,5).operator double()),TVariant("F1"),TNoParam());
G2antt1->EndUpdate();

783
Can I move a bar from an item to another by drag and drop
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
G2antt1->Chart->AllowLinkBars = false;
G2antt1->Chart->Bars->get_Item(TVariant("Task"))->OverlaidType = Exg2anttlib_tlb::OverlaidBarsTypeEnum::exOverlaidBarsTransparent | Exg2anttlib_tlb::OverlaidBarsTypeEnum::exOverlaidBarsOffset;
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TVariant("A"),TNoParam());
	long h = var_Items->AddItem(TVariant("Item 2"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,5).operator double()),TVariant(TDateTime(2001,1,7).operator double()),TVariant("B"),TNoParam());
	var_Items->set_ItemBar(h,TVariant("B"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarCanMoveToAnother,TVariant(true));
	var_Items->AddItem(TVariant("Item 3"));
	var_Items->AddItem(TVariant("Item 4"));

782
Can I move a bar from an item to another
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TVariant("A"),TNoParam());
	long h = var_Items->AddItem(TVariant("Item 2"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,6).operator double()),TVariant(TDateTime(2001,1,14).operator double()),TVariant("B"),TNoParam());
	var_Items->set_ItemBar(h,TVariant("B"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarParent,TVariant(var_Items->FirstVisibleItem));

781
How can change the width, transparency, style, visual appearance ( EBN), of the vertical bar that shows the current date-time

G2antt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->LevelCount = 2;
	var_Chart->get_Level(0)->set_Label(TVariant(1048576));
	Exg2anttlib_tlb::ILevelPtr var_Level = var_Chart->get_Level(1);
		var_Level->set_Label(TVariant("<%ss%>"));
		var_Level->Count = 15;
	var_Chart->MarkNowColor = 0x1000000;
	var_Chart->MarkNowWidth = 6;
	var_Chart->MarkNowTransparent = 50;
G2antt1->Columns->Add(L"Tasks");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2008,1,1).operator double()),TVariant(TDateTime(2018,1,1).operator double()),TNoParam(),TNoParam());

780
How can change the width, style, visual appearance ( EBN), of the vertical bar that shows the current time

G2antt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->LevelCount = 2;
	var_Chart->get_Level(0)->set_Label(TVariant(1048576));
	Exg2anttlib_tlb::ILevelPtr var_Level = var_Chart->get_Level(1);
		var_Level->set_Label(TVariant("<%ss%>"));
		var_Level->Count = 15;
	var_Chart->MarkNowColor = 0x1000000;
	var_Chart->MarkNowWidth = 6;
G2antt1->Columns->Add(L"Tasks");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2008,1,1).operator double()),TVariant(TDateTime(2018,1,1).operator double()),TNoParam(),TNoParam());

779
How can I show a vertical bar that indicates the current time

Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->LevelCount = 2;
	var_Chart->get_Level(0)->set_Label(TVariant(1048576));
	Exg2anttlib_tlb::ILevelPtr var_Level = var_Chart->get_Level(1);
		var_Level->set_Label(TVariant("<%ss%>"));
		var_Level->Count = 15;
	var_Chart->MarkNowColor = RGB(0,0,255);
	var_Chart->MarkNowWidth = 7;
G2antt1->Columns->Add(L"Tasks");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2008,1,1).operator double()),TVariant(TDateTime(2018,1,1).operator double()),TNoParam(),TNoParam());

778
How can I show semi-transparent the vertical bar that indicates the current time

Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->LevelCount = 2;
	var_Chart->get_Level(0)->set_Label(TVariant(1048576));
	Exg2anttlib_tlb::ILevelPtr var_Level = var_Chart->get_Level(1);
		var_Level->set_Label(TVariant("<%ss%>"));
		var_Level->Count = 15;
	var_Chart->MarkNowColor = RGB(0,0,255);
	var_Chart->MarkNowWidth = 7;
	var_Chart->MarkNowTransparent = 50;
G2antt1->Columns->Add(L"Tasks");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2008,1,1).operator double()),TVariant(TDateTime(2018,1,1).operator double()),TNoParam(),TNoParam());

777
Is there any way to highlight or show a vertical bar that indicates the current time, from 15 to 15 seconds

G2antt1->Chart->LevelCount = 2;
G2antt1->Chart->get_Level(0)->set_Label(TVariant(1048576));
Exg2anttlib_tlb::ILevelPtr var_Level = G2antt1->Chart->get_Level(1);
	var_Level->set_Label(TVariant("<%ss%>"));
	var_Level->Count = 15;
G2antt1->Chart->MarkNowColor = RGB(0,0,255);
G2antt1->Chart->MarkNowCount = 15;
G2antt1->Chart->MarkNowWidth = 3;

776
Is there any way to highlight or show a vertical bar that indicates the current time, from minute to minute, hour and so on
Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->UnitWidth = 48;
	var_Chart->LevelCount = 1;
	var_Chart->get_Level(0)->set_Label(TVariant(1048576));
	var_Chart->MarkNowColor = RGB(255,0,0);
	var_Chart->MarkNowUnit = Exg2anttlib_tlb::UnitEnum::exMinute;
	var_Chart->MarkNowWidth = var_Chart->UnitWidth;

775
Is there any way to highlight or show a vertical bar that indicates the current time

G2antt1->Chart->LevelCount = 2;
G2antt1->Chart->get_Level(0)->set_Label(TVariant(1048576));
Exg2anttlib_tlb::ILevelPtr var_Level = G2antt1->Chart->get_Level(1);
	var_Level->set_Label(TVariant("<%ss%>"));
	var_Level->Count = 15;
G2antt1->Chart->MarkNowColor = RGB(255,0,0);

774
Is there a way of making a bar flash on the screen
G2antt1->Columns->Add(L"Task");
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Flashy task"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,6).operator double()),TVariant("K1"),TNoParam());
	var_Items->set_ItemBar(h,TVariant("K1"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarTransparent,TVariant(80));

773
Is there any option to display overlay bars as a stack, or bars that laid over or cover other bars (exOverlaidBarsStackAutoArrange)

G2antt1->BeginUpdate();
G2antt1->ScrollBySingleLine = true;
G2antt1->Columns->Add(L"Task");
G2antt1->DrawGridLines = Exg2anttlib_tlb::GridLinesEnum::exHLines;
Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->DrawGridLines = Exg2anttlib_tlb::GridLinesEnum::exHLines;
	var_Chart->AllowCreateBar = Exg2anttlib_tlb::CreateBarEnum::exCreateBarAuto;
	var_Chart->AllowLinkBars = false;
	var_Chart->ResizeUnitScale = Exg2anttlib_tlb::UnitEnum::exHour;
	var_Chart->set_PaneWidth(false,48);
	var_Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
	Exg2anttlib_tlb::IBarPtr var_Bar = var_Chart->Bars->get_Item(TVariant("Task"));
		var_Bar->OverlaidType = Exg2anttlib_tlb::OverlaidBarsTypeEnum::exOverlaidBarsStackAutoArrange | Exg2anttlib_tlb::OverlaidBarsTypeEnum::exOverlaidBarsStack;
		var_Bar->set_Overlaid(Exg2anttlib_tlb::OverlaidBarsTypeEnum::exOverlaidBarsTransparent,TVariant(80));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Task 1"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TVariant("A1"),TNoParam());
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,3).operator double()),TVariant(TDateTime(2001,1,5).operator double()),TVariant("A2"),TNoParam());
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,4).operator double()),TVariant(TDateTime(2001,1,7).operator double()),TVariant("A3"),TNoParam());
	h = var_Items->AddItem(TVariant("Task 2"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,7).operator double()),TVariant(TDateTime(2001,1,10).operator double()),TVariant("A1"),TNoParam());
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,8).operator double()),TVariant(TDateTime(2001,1,12).operator double()),TVariant("A3"),TNoParam());
	h = var_Items->AddItem(TNoParam());
	var_Items->set_SelectableItem(h,false);
	var_Items->AddBar(h,TVariant(""),TVariant(TDateTime(2001,1,7).operator double()),TVariant(TDateTime(2001,1,11).operator double()),TNoParam(),TVariant("<fgcolor=FF0000>Click a bar and move to a new position."));
G2antt1->EndUpdate();

772
Is there any option to display overlay bars as a stack, or bars that laid over or cover other bars (overlay)

G2antt1->BeginUpdate();
G2antt1->ScrollBySingleLine = true;
G2antt1->Columns->Add(L"Task");
G2antt1->DrawGridLines = Exg2anttlib_tlb::GridLinesEnum::exHLines;
Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->DrawGridLines = Exg2anttlib_tlb::GridLinesEnum::exHLines;
	var_Chart->AllowCreateBar = Exg2anttlib_tlb::CreateBarEnum::exCreateBarAuto;
	var_Chart->AllowLinkBars = false;
	var_Chart->ResizeUnitScale = Exg2anttlib_tlb::UnitEnum::exHour;
	var_Chart->set_PaneWidth(false,48);
	var_Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
	var_Chart->Bars->get_Item(TVariant("Task"))->OverlaidType = Exg2anttlib_tlb::OverlaidBarsTypeEnum::exOverlaidBarsStack;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Task 1"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TVariant("A1"),TNoParam());
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,3).operator double()),TVariant(TDateTime(2001,1,5).operator double()),TVariant("A2"),TNoParam());
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,4).operator double()),TVariant(TDateTime(2001,1,7).operator double()),TVariant("A3"),TNoParam());
	h = var_Items->AddItem(TVariant("Task 2"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,7).operator double()),TVariant(TDateTime(2001,1,10).operator double()),TVariant("A1"),TNoParam());
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,8).operator double()),TVariant(TDateTime(2001,1,12).operator double()),TVariant("A3"),TNoParam());
	h = var_Items->AddItem(TNoParam());
	var_Items->set_SelectableItem(h,false);
	var_Items->AddBar(h,TVariant(""),TVariant(TDateTime(2001,1,7).operator double()),TVariant(TDateTime(2001,1,11).operator double()),TNoParam(),TVariant("<fgcolor=FF0000>Click a bar and move to a new position."));
G2antt1->EndUpdate();

771
Does the overlay also work in milestone bars

G2antt1->BeginUpdate();
G2antt1->DefaultItemHeight = 22;
G2antt1->Columns->Add(L"Task");
Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->ResizeUnitScale = Exg2anttlib_tlb::UnitEnum::exHour;
	var_Chart->set_PaneWidth(false,48);
	var_Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
	Exg2anttlib_tlb::IBarsPtr var_Bars = var_Chart->Bars;
		Exg2anttlib_tlb::IBarPtr var_Bar = var_Bars->get_Item(TVariant("Task"));
			var_Bar->OverlaidType = Exg2anttlib_tlb::OverlaidBarsTypeEnum::exOverlaidBarsTransparent | Exg2anttlib_tlb::OverlaidBarsTypeEnum::exOverlaidBarsOffset;
			var_Bar->OverlaidGroup = L"Milestone";
		Exg2anttlib_tlb::IBarPtr var_Bar1 = var_Bars->get_Item(TVariant("Milestone"));
			var_Bar1->OverlaidType = Exg2anttlib_tlb::OverlaidBarsTypeEnum::exOverlaidBarsTransparent | Exg2anttlib_tlb::OverlaidBarsTypeEnum::exOverlaidBarsOffset;
			var_Bar1->OverlaidGroup = L"Task";
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Task 1"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,4).operator double()),TVariant(TDateTime(2001,1,7).operator double()),TVariant("A1"),TNoParam());
	var_Items->AddBar(h,TVariant("Milestone"),TVariant(TDateTime(2001,1,8).operator double()),TVariant(TDateTime(2001,1,8).operator double()),TVariant("M"),TNoParam());
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,9).operator double()),TVariant(TDateTime(2001,1,12).operator double()),TVariant("A3"),TNoParam());
	h = var_Items->AddItem(TVariant("Task 2"));
	var_Items->AddBar(h,TVariant("Milestone"),TVariant(TDateTime(2001,1,4).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TVariant("M"),TNoParam());
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,5).operator double()),TVariant(TDateTime(2001,1,8).operator double()),TVariant("A1"),TNoParam());
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,9).operator double()),TVariant(TDateTime(2001,1,12).operator double()),TVariant("A3"),TNoParam());
	h = var_Items->AddItem(TNoParam());
	var_Items->set_SelectableItem(h,false);
	var_Items->AddBar(h,TVariant(""),TVariant(TDateTime(2001,1,7).operator double()),TVariant(TDateTime(2001,1,11).operator double()),TNoParam(),TVariant("<fgcolor=FF0000>Click a bar and move to a new position."));
G2antt1->EndUpdate();

770
Is there any option to display overlaid bars of different types, or bars that laid over or cover other bars (overlay)

G2antt1->DefaultItemHeight = 22;
G2antt1->Columns->Add(L"Task");
Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->ResizeUnitScale = Exg2anttlib_tlb::UnitEnum::exHour;
	var_Chart->set_PaneWidth(false,48);
	var_Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
	Exg2anttlib_tlb::IBarsPtr var_Bars = var_Chart->Bars;
		var_Bars->Copy(L"Task",L"RTask")->Color = RGB(255,0,0);
		var_Bars->Copy(L"Task",L"GTask")->Color = RGB(0,255,0);
		Exg2anttlib_tlb::IBarPtr var_Bar = var_Bars->get_Item(TVariant("Task"));
			var_Bar->OverlaidType = Exg2anttlib_tlb::OverlaidBarsTypeEnum::exOverlaidBarsTransparent | Exg2anttlib_tlb::OverlaidBarsTypeEnum::exOverlaidBarsOffset;
			var_Bar->set_Overlaid(Exg2anttlib_tlb::OverlaidBarsTypeEnum::exOverlaidBarsTransparent,TVariant(70));
			var_Bar->OverlaidGroup = L"RTask,GTask";
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Task 1"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TVariant("A1"),TNoParam());
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,3).operator double()),TVariant(TDateTime(2001,1,5).operator double()),TVariant("A2"),TNoParam());
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,4).operator double()),TVariant(TDateTime(2001,1,7).operator double()),TVariant("A3"),TNoParam());
	h = var_Items->AddItem(TVariant("Task 2"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,4).operator double()),TVariant(TDateTime(2001,1,8).operator double()),TVariant("A1"),TNoParam());
	var_Items->AddBar(h,TVariant("GTask"),TVariant(TDateTime(2001,1,7).operator double()),TVariant(TDateTime(2001,1,12).operator double()),TVariant("A2"),TNoParam());
	var_Items->AddBar(h,TVariant("RTask"),TVariant(TDateTime(2001,1,10).operator double()),TVariant(TDateTime(2001,1,15).operator double()),TVariant("A3"),TNoParam());
	h = var_Items->AddItem(TNoParam());
	var_Items->set_SelectableItem(h,false);
	var_Items->AddBar(h,TVariant(""),TVariant(TDateTime(2001,1,7).operator double()),TVariant(TDateTime(2001,1,11).operator double()),TNoParam(),TVariant("<fgcolor=FF0000>Click a bar and move to a new position."));

769
Is there any option to display overlaid bars, or bars that laid over or cover other bars (overlay)

G2antt1->DefaultItemHeight = 22;
G2antt1->Columns->Add(L"Task");
Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->ResizeUnitScale = Exg2anttlib_tlb::UnitEnum::exHour;
	var_Chart->set_PaneWidth(false,48);
	var_Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
	Exg2anttlib_tlb::IBarsPtr var_Bars = var_Chart->Bars;
		Exg2anttlib_tlb::IBarPtr var_Bar = var_Bars->Copy(L"Task",L"BTask");
			var_Bar->Color = RGB(255,0,0);
		Exg2anttlib_tlb::IBarPtr var_Bar1 = var_Bars->get_Item(TVariant("Task"));
			var_Bar1->OverlaidType = Exg2anttlib_tlb::OverlaidBarsTypeEnum::exOverlaidBarsIntersect;
			var_Bar1->set_Overlaid(Exg2anttlib_tlb::OverlaidBarsTypeEnum::exOverlaidBarsIntersect,TVariant("BTask"));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Task 1"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TVariant("A1"),TNoParam());
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,3).operator double()),TVariant(TDateTime(2001,1,5).operator double()),TVariant("A2"),TNoParam());
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,4).operator double()),TVariant(TDateTime(2001,1,7).operator double()),TVariant("A3"),TNoParam());
	h = var_Items->AddItem(TVariant("Task 2"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,7).operator double()),TVariant(TDateTime(2001,1,10).operator double()),TVariant("A1"),TNoParam());
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,8).operator double()),TVariant(TDateTime(2001,1,12).operator double()),TVariant("A3"),TNoParam());
	h = var_Items->AddItem(TNoParam());
	var_Items->set_SelectableItem(h,false);
	var_Items->AddBar(h,TVariant(""),TVariant(TDateTime(2001,1,7).operator double()),TVariant(TDateTime(2001,1,11).operator double()),TNoParam(),TVariant("<fgcolor=FF0000>Click a bar and move to a new position."));

768
Is there any option to display overlaid bars, or bars that laid over or cover other bars (overlay)

G2antt1->DefaultItemHeight = 22;
G2antt1->Columns->Add(L"Task");
Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->ResizeUnitScale = Exg2anttlib_tlb::UnitEnum::exHour;
	var_Chart->set_PaneWidth(false,48);
	var_Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
	Exg2anttlib_tlb::IBarPtr var_Bar = var_Chart->Bars->get_Item(TVariant("Task"));
		var_Bar->OverlaidType = Exg2anttlib_tlb::OverlaidBarsTypeEnum::exOverlaidBarsTransparent | Exg2anttlib_tlb::OverlaidBarsTypeEnum::exOverlaidBarsOffset;
		var_Bar->set_Overlaid(Exg2anttlib_tlb::OverlaidBarsTypeEnum::exOverlaidBarsTransparent,TVariant(70));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Task 1"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TVariant("A1"),TNoParam());
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,3).operator double()),TVariant(TDateTime(2001,1,5).operator double()),TVariant("A2"),TNoParam());
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,4).operator double()),TVariant(TDateTime(2001,1,7).operator double()),TVariant("A3"),TNoParam());
	h = var_Items->AddItem(TVariant("Task 2"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,7).operator double()),TVariant(TDateTime(2001,1,10).operator double()),TVariant("A1"),TNoParam());
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,8).operator double()),TVariant(TDateTime(2001,1,12).operator double()),TVariant("A3"),TNoParam());
	h = var_Items->AddItem(TNoParam());
	var_Items->set_SelectableItem(h,false);
	var_Items->AddBar(h,TVariant(""),TVariant(TDateTime(2001,1,7).operator double()),TVariant(TDateTime(2001,1,11).operator double()),TNoParam(),TVariant("<fgcolor=FF0000>Click a bar and move to a new position."));

767
Is there any option to display overlaid bars, or bars that laid over or cover other bars (overlay)

G2antt1->DefaultItemHeight = 22;
G2antt1->Columns->Add(L"Task");
Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->ResizeUnitScale = Exg2anttlib_tlb::UnitEnum::exHour;
	var_Chart->set_PaneWidth(false,48);
	var_Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
	var_Chart->Bars->get_Item(TVariant("Task"))->OverlaidType = Exg2anttlib_tlb::OverlaidBarsTypeEnum::exOverlaidBarsOffset;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Task 1"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TVariant("A1"),TNoParam());
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,3).operator double()),TVariant(TDateTime(2001,1,5).operator double()),TVariant("A2"),TNoParam());
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,4).operator double()),TVariant(TDateTime(2001,1,7).operator double()),TVariant("A3"),TNoParam());
	h = var_Items->AddItem(TVariant("Task 2"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,7).operator double()),TVariant(TDateTime(2001,1,10).operator double()),TVariant("A1"),TNoParam());
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,8).operator double()),TVariant(TDateTime(2001,1,12).operator double()),TVariant("A3"),TNoParam());
	h = var_Items->AddItem(TNoParam());
	var_Items->set_SelectableItem(h,false);
	var_Items->AddBar(h,TVariant(""),TVariant(TDateTime(2001,1,7).operator double()),TVariant(TDateTime(2001,1,11).operator double()),TNoParam(),TVariant("<fgcolor=FF0000>Click a bar and move to a new position."));

766
How can include the values in the inner cells in the drop down filter window
G2antt1->DrawGridLines = Exg2anttlib_tlb::GridLinesEnum::exRowLines;
G2antt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
G2antt1->Description[Exg2anttlib_tlb::DescriptionTypeEnum::exFilterBarBlanks] = L"";
G2antt1->Description[Exg2anttlib_tlb::DescriptionTypeEnum::exFilterBarNonBlanks] = L"";
Exg2anttlib_tlb::IColumnPtr var_Column = G2antt1->Columns->Add(L"Single Column");
	var_Column->HTMLCaption = L"Single column with <b>inner cells</b>";
	var_Column->ToolTip = L"Click the drop down filter button, and the filter list includes the inner cells values too.";
	var_Column->DisplayFilterButton = true;
	var_Column->DisplayFilterPattern = false;
	var_Column->FilterList = Exg2anttlib_tlb::FilterListEnum::exIncludeInnerCells;
G2antt1->ShowFocusRect = false;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	TVariant s = TVariant(var_Items->get_SplitCell(TVariant(var_Items->AddItem(TVariant("S 1.1"))),TVariant(0)));
	var_Items->set_CellValue(TNoParam(),TVariant(s),TVariant("S 1.2"));
	var_Items->set_CellHAlignment(TNoParam(),TVariant(s),Exg2anttlib_tlb::AlignmentEnum::CenterAlignment);
	var_Items->set_CellBackColor(TNoParam(),TVariant(s),0x1000000);
	var_Items->set_CellWidth(TNoParam(),TVariant(s),84);
	s = TVariant(var_Items->get_SplitCell(TVariant(var_Items->AddItem(TVariant("S 2.1"))),TVariant(0)));
	var_Items->set_CellValue(TNoParam(),TVariant(s),TVariant("S 2.2"));
	var_Items->set_CellHAlignment(TNoParam(),TVariant(s),Exg2anttlib_tlb::AlignmentEnum::CenterAlignment);
	var_Items->set_CellWidth(TNoParam(),TVariant(s),84);
	s = TVariant(var_Items->get_SplitCell(TVariant(var_Items->AddItem(TVariant("S 3.1"))),TVariant(0)));
	var_Items->set_CellValue(TNoParam(),TVariant(s),TVariant("S 3.2"));
	var_Items->set_CellHAlignment(TNoParam(),TVariant(s),Exg2anttlib_tlb::AlignmentEnum::CenterAlignment);
	var_Items->set_CellBackColor(TNoParam(),TVariant(s),0x1000000);
	var_Items->set_CellWidth(TNoParam(),TVariant(s),84);

765
How can I sort the value gets listed in the drop down filter window
G2antt1->LinesAtRoot = Exg2anttlib_tlb::LinesAtRootEnum::exLinesAtRoot;
G2antt1->MarkSearchColumn = false;
G2antt1->Description[Exg2anttlib_tlb::DescriptionTypeEnum::exFilterBarAll] = L"";
G2antt1->Description[Exg2anttlib_tlb::DescriptionTypeEnum::exFilterBarBlanks] = L"";
G2antt1->Description[Exg2anttlib_tlb::DescriptionTypeEnum::exFilterBarNonBlanks] = L"";
Exg2anttlib_tlb::IColumnPtr var_Column = G2antt1->Columns->Add(L"P1");
	var_Column->DisplayFilterButton = true;
	var_Column->DisplayFilterPattern = false;
	var_Column->FilterList = Exg2anttlib_tlb::FilterListEnum::exSortItemsDesc;
Exg2anttlib_tlb::IColumnPtr var_Column1 = G2antt1->Columns->Add(L"P2");
	var_Column1->DisplayFilterButton = true;
	var_Column1->DisplayFilterPattern = false;
	var_Column1->FilterList = Exg2anttlib_tlb::FilterListEnum::exSortItemsAsc;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Z3"));
	var_Items->set_CellValue(TVariant(h),TVariant(1),TVariant("C"));
	var_Items->set_CellValue(TVariant(var_Items->InsertItem(h,TNoParam(),TVariant("Z1"))),TVariant(1),TVariant("B"));
	var_Items->set_CellValue(TVariant(var_Items->InsertItem(h,TNoParam(),TVariant("Z2"))),TVariant(1),TVariant("A"));
	var_Items->set_ExpandItem(h,true);

764
Is there a way to break the hours into 15 minute increments just showing lines instead of the minute numbers

G2antt1->BeginUpdate();
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2008,2,5).operator double()));
G2antt1->Chart->LevelCount = 3;
G2antt1->Chart->get_Level(0)->set_Label(TVariant("<b><%mmm%> <%dd%></b> <%yyyy%> "));
Exg2anttlib_tlb::ILevelPtr var_Level = G2antt1->Chart->get_Level(1);
	var_Level->set_Label(TVariant("<%hh%>"));
	var_Level->Alignment = Exg2anttlib_tlb::AlignmentEnum::CenterAlignment;
Exg2anttlib_tlb::ILevelPtr var_Level1 = G2antt1->Chart->get_Level(2);
	var_Level1->set_Label(TVariant(""));
	var_Level1->Unit = Exg2anttlib_tlb::UnitEnum::exMinute;
	var_Level1->Count = 15;
G2antt1->Chart->UnitWidth = 6;
G2antt1->EndUpdate();

763
How do I specify a range where the bar can be moved or resized and to highlight the range

G2antt1->BeginUpdate();
G2antt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
G2antt1->Chart->set_ScrollRange(Exg2anttlib_tlb::ScrollRangeEnum::exStartDate,TVariant(TDateTime(2001,1,1).operator double()));
G2antt1->Chart->set_ScrollRange(Exg2anttlib_tlb::ScrollRangeEnum::exEndDate,TVariant(TDateTime(2001,1,7).operator double()));
G2antt1->Chart->set_PaneWidth(false,128);
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Item 1"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,1).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TNoParam(),TNoParam());
	var_Items->set_ItemBar(h,TVariant(""),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarMinStart,TVariant(TDateTime(2001,1,2).operator double()));
	var_Items->set_ItemBar(h,TVariant(""),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarMaxEnd,TVariant(TDateTime(2001,1,8).operator double()));
	var_Items->set_ItemBar(h,TVariant(""),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarShowRange,TVariant(16777216));
	var_Items->set_ItemBar(h,TVariant(""),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarShowRangeTransparent,TVariant(60));
	h = var_Items->AddItem(TVariant("Item 2"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,1).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TNoParam(),TNoParam());
G2antt1->EndUpdate();

762
How do I specify a range where the bar can be moved or resized and to highlight the range

G2antt1->BeginUpdate();
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
G2antt1->Chart->set_ScrollRange(Exg2anttlib_tlb::ScrollRangeEnum::exStartDate,TVariant(TDateTime(2001,1,1).operator double()));
G2antt1->Chart->set_ScrollRange(Exg2anttlib_tlb::ScrollRangeEnum::exEndDate,TVariant(TDateTime(2001,1,7).operator double()));
G2antt1->Chart->set_PaneWidth(false,128);
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Item 1"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,1).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TNoParam(),TNoParam());
	var_Items->set_ItemBar(h,TVariant(""),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarMinStart,TVariant(TDateTime(2001,1,2).operator double()));
	var_Items->set_ItemBar(h,TVariant(""),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarMaxEnd,TVariant(TDateTime(2001,1,8).operator double()));
	var_Items->set_ItemBar(h,TVariant(""),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarShowRange,TVariant(32));
	var_Items->set_ItemBar(h,TVariant(""),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarShowRangeTransparent,TVariant(90));
	h = var_Items->AddItem(TVariant("Item 2"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,1).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TNoParam(),TNoParam());
G2antt1->EndUpdate();

761
How do I specify a range where the bar can be moved or resized and to highlight the range

G2antt1->BeginUpdate();
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
G2antt1->Chart->set_ScrollRange(Exg2anttlib_tlb::ScrollRangeEnum::exStartDate,TVariant(TDateTime(2001,1,1).operator double()));
G2antt1->Chart->set_ScrollRange(Exg2anttlib_tlb::ScrollRangeEnum::exEndDate,TVariant(TDateTime(2001,1,7).operator double()));
G2antt1->Chart->set_PaneWidth(false,128);
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Item 1"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,1).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TNoParam(),TNoParam());
	var_Items->set_ItemBar(h,TVariant(""),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarMinStart,TVariant(TDateTime(2001,1,2).operator double()));
	var_Items->set_ItemBar(h,TVariant(""),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarMaxEnd,TVariant(TDateTime(2001,1,8).operator double()));
	var_Items->set_ItemBar(h,TVariant(""),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarShowRange,TVariant(65286));
	var_Items->set_ItemBar(h,TVariant(""),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarShowRangeTransparent,TVariant(90));
	h = var_Items->AddItem(TVariant("Item 2"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,1).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TNoParam(),TNoParam());
G2antt1->EndUpdate();

760
How do I specify a range where the bar can be moved or resized
G2antt1->BeginUpdate();
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
G2antt1->Chart->set_ScrollRange(Exg2anttlib_tlb::ScrollRangeEnum::exStartDate,TVariant(TDateTime(2001,1,1).operator double()));
G2antt1->Chart->set_ScrollRange(Exg2anttlib_tlb::ScrollRangeEnum::exEndDate,TVariant(TDateTime(2001,1,7).operator double()));
G2antt1->Chart->set_PaneWidth(false,128);
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Item 1"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,1).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TNoParam(),TNoParam());
	var_Items->set_ItemBar(h,TVariant(""),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarMinStart,TVariant(TDateTime(2001,1,2).operator double()));
	var_Items->set_ItemBar(h,TVariant(""),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarMaxEnd,TVariant(TDateTime(2001,1,8).operator double()));
	h = var_Items->AddItem(TVariant("Item 2"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,1).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TNoParam(),TNoParam());
G2antt1->EndUpdate();

759
How can I change the visual appearance of the milestone bar using EBN

Exg2anttlib_tlb::IAppearancePtr var_Appearance = G2antt1->VisualAppearance;
	var_Appearance->Add(1,TVariant(String("gBFLBCJwBAEHhEJAEGg4BKMMQAAYAQGKIYBkAKBQAGaAoDDMMILQiMQwjRBMKgBBCLIxiGK4DhiF4aRTHUKAAKQahLEaSZLhEZRQiqA4sS5FQBSBDQFwSByEY6mSaYJ") +
"AWK4tCyNM7SfQAbxnAgYaLAAYRUjuHZOTZAc4UfAdFL/K4AKrfeZIeAiCRQGiYZyHKaRShjDwXKLIIjbJhkNoJChCNQgBScPgxCx8JypaCaar2fjQM6zWAMdb2Cz7PjD" +
"H7wPA1WYJRaDYjhcB4LheAqGXBWUYLYb8XS3EKJYhiWA4HjqFjGJpcEzPbRiNx3H6SABlLLaLo7JpGO52FrTHZjXyzLqBVpoOyEbrmcozYzjN41RpWETfQYDcwteqcLp" +
"rhGVZrm6dp8j4bAnDQP5Uh+OpcH6R4Lg2YJvEIeg6kWEoJB2ZZyG6GoLCSXxtG+IZ1GmfhJjcawNFWfB/h+V5pnUc5VhWeZ4BMX4jlySwtiAJodlEYRaBYFgHHgIA2gG" +
"ExkFUdxFl6A5hgUbgXgcVRzFiXA3CICARAEgI"));
	var_Appearance->Add(2,TVariant("CP:1 -6 0 5 0"));
Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
	Exg2anttlib_tlb::IBarPtr var_Bar = var_Chart->Bars->Add(L"MilestoneEBN");
		var_Bar->Color = 0x2000000;
		var_Bar->Height = 14;
G2antt1->Columns->Add(L"Tasks");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Milestone")),TVariant("Milestone"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,2,0,00,01,0).operator double()),TNoParam(),TNoParam());
	var_Items->AddBar(var_Items->AddItem(TVariant("Milestone EBN ")),TVariant("MilestoneEBN"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,2,0,00,01,0).operator double()),TNoParam(),TNoParam());

758
How can I change the visual appearance of the summary bar using EBN

G2antt1->VisualAppearance->Add(1,TVariant(String("gBFLBCJwBAEHhEJAEGg4BGICg6AADACAxRDAMgBQKAAzQFAYZhhBaERiGEaIJhUAIIRZGMQxXAcMQvDSKQJhGDAADEMgyAJCIxjPIgZBoGqPBpASQJUhkMocR7HMygB") +
"IkSRNA8kMwxdQEaw9ECRIDpGaYWTFDhsABTVQRLL0Tw9ISERqoSSaGgkCYaA7CNJ0PBNJSjJ6LJZGURbKqyCQ1DBbUB3BaUaQ9JaKa7pKa7cpWKIqSxEMrxcLFcT5DSb" +
"YDxGjLEhmPZBVZQNBxtJbFQHWJCNgzVAdOAAfzQM70GpMQoWJYeVpEObSBD1dABTCBczADYoex7ID+aJuGiYVZdWxJOjfbhkTTIJAaCawABrWxR8iHN5paTnUpzDjwbg" +
"0kqRRyr+XwjA8Go/HSBp6g6KJTFcGpWmYdg8H6dJTH0EZelueBfBuLwyBMd50nIfR+kmXB4BECQUAaEYMHQHRHCGFRYI2ZAwEIExghQZA2EIQoGGoEhOgGBBYlAeYYHM" +
"WJcDcGx4HYHoHmICIFjeBohkaDAAC2DAjBYJIIiKSI2CSC5hjQJBsCOCwYiIKoGmKWJkn6DANkiWgzCwYwolAcQkksWJaCuDohlicg2hDQR+EELBInKcJohMJBomILoG" +
"mISQuESFBOgkOQDg+SoTEyfoXCUSImDyGZhjkaI1hcJgTnoXgACYCYKG2GQkEkVJchKIoZDIbIciYKY+HEP4mlmThSg+aBIlKBYUCUKgGHyG4jEkPoKiAKI6D6EokGkS" +
"gyECF5jEKVJZD+aYqHKG4nGoCh+iKJ4qEqBokh+KYag6JoqmqKo2iWJpqgKRJHDiT5qk6NYtCsapmjiLprHqdo6i8awan6QovCwOp6kSLQsBsHpGjKbBbBaMYhm0Cgal" +
"ILBtBsUpTiGUIUAQgIA=="));
Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
	Exg2anttlib_tlb::IBarPtr var_Bar = var_Chart->Bars->Copy(L"Task",L"Summary");
		var_Bar->Color = 0x1000000;
		var_Bar->Height = 16;
G2antt1->Columns->Add(L"Tasks");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Task 1")),TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TNoParam(),TNoParam());
	var_Items->AddBar(var_Items->AddItem(TVariant("Task 2")),TVariant("Summary"),TVariant(TDateTime(2001,1,5).operator double()),TVariant(TDateTime(2001,1,7).operator double()),TNoParam(),TNoParam());

757
How can I change the visual appearance of the task bar using EBN

G2antt1->VisualAppearance->Add(1,TVariant(String("gBFLBCJwBAEHhEJAEGg4BGoCg6AADACAxRDAMgBQKAAzQFAYZhhBaERiGEaIJhUAIIRZGMQxXAcMQvDSKQJhGLhQiSJoJDSBEgSXDIZQ5D6OZYACDJQACJYJTbAYzyP") +
"JkPRAA6EZCmGAwCglf5HABRb7xNLkbQ8GySKJnWCQJhoD5BSLCNRUTRFFQtGgZBpEWwLCjQNQwWLKFoTJIEPSBDKqYDoKYqTgOOZOThHQz3HakQRdAa/ZpnaKpUo2d47" +
"XjMWBwGA0EzeAAGaxoShqdoiFaGU7UOJVJBOGwHK6BchoMAKbp6XoVWRaOAWLZWVABM7XLZxbLccyGfZ1XhdV5UbqUMznR7PNrjLKIJpCOJbbyAFwgBaeQABYLhK7iHR" +
"mi8XYwjMWpjFWOx1GIB5LmgdB4HCEBECSIBpDGHQOicIwokYPImikEIJj6eJIloEgogSc40FGcJEFiYZIG2VIoAURw1g2QxyAQNwNAMPJOgIYI4CoDIBmAeAKBIUpQDU" +
"KJYDoTpIB4vxgmgdgNgeYZDDoFw7CEJhQn+BohmKfImCWSZRlgYwikYMQ0gwF4DniTA/gwBJYjQYwsgoIg6AyCRQDiIJODAZBImoOguAmMZ4lQLIJjOMI3CYZJpEIT4K" +
"iKSI6DqD5ZGAAgHC2DAjBYR4SGUGYGE+GIlCmFhRhIB5iFAbwWsiJgMhoCoxngV4ZCcSYOHaGYnHmIg8COJpoCoOISmSWZeHWHgoEkRoAg4EIYB4NogmiSgKg6GRjGoJ" +
"gFh+ZJKDaBYjmgaQygiBRUHmbhoDsTAyiqIIoioGoOw8aoKhKKoemeOIaAeF5HmqHoqiyKxKgYaN/locgBiuZRojoVIok8cwsjaMBLGqDoAhGIpoEYWYEmAIxUkQLZmg" +
"iYg2g2I4JiCQwuAqWIOIkEAQICA=="));
Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
	Exg2anttlib_tlb::IBarPtr var_Bar = var_Chart->Bars->get_Item(TVariant("Task"));
		var_Bar->Color = 0x1000000;
		var_Bar->Height = 16;
G2antt1->Columns->Add(L"Tasks");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Task 1")),TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TNoParam(),TNoParam());
	var_Items->AddBar(var_Items->AddItem(TVariant("Task 2")),TVariant("Task"),TVariant(TDateTime(2001,1,5).operator double()),TVariant(TDateTime(2001,1,7).operator double()),TNoParam(),TNoParam());

756
How can I change the visual appearance of the task bar using EBN

G2antt1->VisualAppearance->Add(1,TVariant(String("gBFLBCJwBAEHhEJAEGg4BZsIQAAYAQGKIYBkAKBQAGaAoDDMMILQiMQwjRBMKgBBCLIxiGK4DhiGoZATCMbDBIcSwSGgCJCjeS4ZDKHIXSxFUKTBAcSQTGyBRokaYZR") +
"i6A4+TRPETTWAEcABHSbQCoKTKAoCHpLQLMYxDKItJSpGYaRgqWCaZpuUIaUzKVbxbK9CSMGiQbIsOJrBqqQozWZHVITLR9VgBNqga7uGR5DoqdovU5dVTVda9Ly5LSs" +
"MQvfALCqOe45URdNp3RiVBYfI6+cZvfJLWh4NqeAbCMC1UJoYhlUKCBg0TRoVo9AIDX5QWaYXC0AkBA=="));
Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
	Exg2anttlib_tlb::IBarPtr var_Bar = var_Chart->Bars->get_Item(TVariant("Task"));
		var_Bar->Color = 0x1000000;
		var_Bar->Height = 16;
G2antt1->Columns->Add(L"Tasks");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Task 1")),TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TNoParam(),TNoParam());
	var_Items->AddBar(var_Items->AddItem(TVariant("Task 2")),TVariant("Task"),TVariant(TDateTime(2001,1,5).operator double()),TVariant(TDateTime(2001,1,7).operator double()),TNoParam(),TNoParam());

755
Is there any way to change the units and count of units used in resizing or moving a bar

G2antt1->BeginUpdate();
G2antt1->Columns->Add(L"Task");
Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->AllowCreateBar = Exg2anttlib_tlb::CreateBarEnum::exNoCreateBar;
	var_Chart->DrawGridLines = Exg2anttlib_tlb::GridLinesEnum::exAllLines;
	var_Chart->set_PaneWidth(false,64);
	var_Chart->set_FirstVisibleDate(TVariant(TDateTime(2005,6,21).operator double()));
	var_Chart->ResizeUnitScale = Exg2anttlib_tlb::UnitEnum::exHour;
	var_Chart->ResizeUnitCount = 8;
	var_Chart->UnitWidth = 64;
	Exg2anttlib_tlb::ILevelPtr var_Level = var_Chart->get_Level(0);
		var_Level->set_Label(TVariant("<b><%mmm%></b> <%dd%>"));
		var_Level->DrawGridLines = true;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Root"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2005,6,22).operator double()),TVariant(TDateTime(2005,6,23,16,00,00,0).operator double()),TNoParam(),TNoParam());
	long h1 = var_Items->InsertItem(h,TNoParam(),TVariant("Task 1"));
	var_Items->AddBar(h1,TVariant(""),TVariant(TDateTime(2005,6,22).operator double()),TVariant(TDateTime(2005,6,24).operator double()),TNoParam(),TVariant("some <font Comic Sans MS;12><a>text</a></font> here"));
	h1 = var_Items->InsertItem(h,TNoParam(),TVariant("Task 2"));
	var_Items->AddBar(h1,TVariant("Task"),TVariant(TDateTime(2005,6,23,8,00,00,0).operator double()),TVariant(TDateTime(2005,6,28).operator double()),TNoParam(),TNoParam());
	var_Items->AddLink(TVariant("Link1"),h,TVariant(""),h1,TVariant(""));
	var_Items->set_Link(TVariant("Link1"),Exg2anttlib_tlb::LinkPropertyEnum::exLinkStartPos,TVariant(0));
	var_Items->set_Link(TVariant("Link1"),Exg2anttlib_tlb::LinkPropertyEnum::exLinkText,TVariant("<bgcolor=FFFFFF> Link <a>1</a> </bgcolor>"));
	var_Items->set_ExpandItem(h,true);
G2antt1->EndUpdate();

754
When trying to resize, move or create a bar, it appears that you can only resize, move or create it in the units that were specified for the level in the timeline. Is there any way to change the units used in resizing or moving a bar
G2antt1->BeginUpdate();
G2antt1->Columns->Add(L"Task");
Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->AllowCreateBar = Exg2anttlib_tlb::CreateBarEnum::exNoCreateBar;
	var_Chart->set_PaneWidth(false,64);
	var_Chart->set_FirstVisibleDate(TVariant(TDateTime(2005,6,21).operator double()));
	var_Chart->ResizeUnitScale = Exg2anttlib_tlb::UnitEnum::exHour;
	var_Chart->UnitWidth = 64;
	var_Chart->get_Level(0)->set_Label(TVariant("<b><%mmm%></b> <%dd%>"));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Root"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2005,6,22).operator double()),TVariant(TDateTime(2005,6,23,16,00,00,0).operator double()),TNoParam(),TNoParam());
	long h1 = var_Items->InsertItem(h,TNoParam(),TVariant("Task 1"));
	var_Items->AddBar(h1,TVariant(""),TVariant(TDateTime(2005,6,22).operator double()),TVariant(TDateTime(2005,6,24).operator double()),TNoParam(),TVariant("some <font Comic Sans MS;12><a>text</a></font> here"));
	h1 = var_Items->InsertItem(h,TNoParam(),TVariant("Task 2"));
	var_Items->AddBar(h1,TVariant("Task"),TVariant(TDateTime(2005,6,23,8,00,00,0).operator double()),TVariant(TDateTime(2005,6,28).operator double()),TNoParam(),TNoParam());
	var_Items->AddLink(TVariant("Link1"),h,TVariant(""),h1,TVariant(""));
	var_Items->set_Link(TVariant("Link1"),Exg2anttlib_tlb::LinkPropertyEnum::exLinkStartPos,TVariant(0));
	var_Items->set_Link(TVariant("Link1"),Exg2anttlib_tlb::LinkPropertyEnum::exLinkText,TVariant("<bgcolor=FFFFFF> Link <a>1</a> </bgcolor>"));
	var_Items->set_ExpandItem(h,true);
G2antt1->EndUpdate();

753
How can I clip the HTML text or caption inside the bar
G2antt1->Columns->Add(L"Task");
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
Exg2anttlib_tlb::IBarPtr var_Bar = G2antt1->Chart->Bars->get_Item(TVariant("Task"));
	var_Bar->Pattern = Exg2anttlib_tlb::PatternEnum::exPatternBox;
	var_Bar->Height = 13;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Task 1"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,6).operator double()),TVariant("K1"),TVariant("This is a bit of text that get's clipped"));
	var_Items->set_ItemBar(h,TVariant("K1"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarHAlignCaption,TVariant(3));

752
How to show the overallocation/workload histogram

G2antt1->BeginUpdate();
G2antt1->Columns->Add(L"Tasks");
Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->LevelCount = 2;
	var_Chart->NonworkingDays = 0;
	var_Chart->set_PaneWidth(false,70);
	var_Chart->set_FirstVisibleDate(TVariant(TDateTime(2005,6,20).operator double()));
	var_Chart->HistogramVisible = true;
	var_Chart->HistogramHeight = 64;
	Exg2anttlib_tlb::IBarPtr var_Bar = var_Chart->Bars->get_Item(TVariant("Task"));
		var_Bar->HistogramCriticalColor = RGB(255,0,0);
		var_Bar->HistogramPattern = Exg2anttlib_tlb::PatternEnum::exBezierCurve;
		var_Bar->HistogramType = Exg2anttlib_tlb::HistogramTypeEnum::exHistOverAllocation;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Root"));
	var_Items->AddBar(h,TVariant("Summary"),TVariant(TDateTime(2005,6,21).operator double()),TVariant(TDateTime(2005,7,1).operator double()),TNoParam(),TNoParam());
	long h1 = var_Items->InsertItem(h,TNoParam(),TVariant("Task 1"));
	var_Items->AddBar(h1,TVariant("Task"),TVariant(TDateTime(2005,6,21).operator double()),TVariant(TDateTime(2005,6,28).operator double()),TNoParam(),TNoParam());
	h1 = var_Items->InsertItem(h,TNoParam(),TVariant("Task 2"));
	var_Items->AddBar(h1,TVariant("Task"),TVariant(TDateTime(2005,6,23).operator double()),TVariant(TDateTime(2005,7,1).operator double()),TVariant("E"),TNoParam());
	var_Items->set_ItemBar(h1,TVariant("E"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarEffort,TVariant(5));
	h1 = var_Items->InsertItem(h,TNoParam(),TVariant("Task 3"));
	var_Items->AddBar(h1,TVariant("Task"),TVariant(TDateTime(2005,6,25).operator double()),TVariant(TDateTime(2005,6,27).operator double()),TVariant("E"),TNoParam());
	var_Items->set_ItemBar(h1,TVariant("E"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarEffort,TVariant(2));
	var_Items->set_ItemBar(h1,TVariant("E"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarCaption,TVariant("move/resize this"));
	var_Items->set_ItemBar(h1,TVariant("E"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarHAlignCaption,TVariant(18));
	var_Items->set_ItemBar(h1,TVariant("E"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarToolTip,TVariant("Click the bar and move or resize it. The histogram-graph will be updated."));
	var_Items->AddLink(TVariant("Link1"),h,TVariant(""),h1,TVariant("E"));
	var_Items->set_Link(TVariant("Link1"),Exg2anttlib_tlb::LinkPropertyEnum::exLinkStartPos,TVariant(0));
	var_Items->set_ExpandItem(h,true);
G2antt1->EndUpdate();

751
How to show the overload histogram

G2antt1->BeginUpdate();
G2antt1->Columns->Add(L"Tasks");
Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->LevelCount = 2;
	var_Chart->NonworkingDays = 0;
	var_Chart->set_PaneWidth(false,70);
	var_Chart->set_FirstVisibleDate(TVariant(TDateTime(2005,6,20).operator double()));
	var_Chart->HistogramVisible = true;
	var_Chart->HistogramHeight = 64;
	Exg2anttlib_tlb::IBarPtr var_Bar = var_Chart->Bars->get_Item(TVariant("Task"));
		var_Bar->HistogramPattern = Exg2anttlib_tlb::PatternEnum(0x100 | Exg2anttlib_tlb::PatternEnum::exPatternDot);
		var_Bar->HistogramType = Exg2anttlib_tlb::HistogramTypeEnum::exHistOverload;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Root"));
	var_Items->AddBar(h,TVariant("Summary"),TVariant(TDateTime(2005,6,21).operator double()),TVariant(TDateTime(2005,7,1).operator double()),TNoParam(),TNoParam());
	long h1 = var_Items->InsertItem(h,TNoParam(),TVariant("Task 1"));
	var_Items->AddBar(h1,TVariant("Task"),TVariant(TDateTime(2005,6,21).operator double()),TVariant(TDateTime(2005,6,28).operator double()),TNoParam(),TNoParam());
	h1 = var_Items->InsertItem(h,TNoParam(),TVariant("Task 2"));
	var_Items->AddBar(h1,TVariant("Task"),TVariant(TDateTime(2005,6,23).operator double()),TVariant(TDateTime(2005,7,1).operator double()),TVariant("E"),TNoParam());
	var_Items->set_ItemBar(h1,TVariant("E"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarEffort,TVariant(5));
	h1 = var_Items->InsertItem(h,TNoParam(),TVariant("Task 3"));
	var_Items->AddBar(h1,TVariant("Task"),TVariant(TDateTime(2005,6,25).operator double()),TVariant(TDateTime(2005,6,27).operator double()),TVariant("E"),TNoParam());
	var_Items->set_ItemBar(h1,TVariant("E"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarEffort,TVariant(2));
	var_Items->set_ItemBar(h1,TVariant("E"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarCaption,TVariant("move/resize this"));
	var_Items->set_ItemBar(h1,TVariant("E"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarHAlignCaption,TVariant(18));
	var_Items->set_ItemBar(h1,TVariant("E"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarToolTip,TVariant("Click the bar and move or resize it. The histogram-graph will be updated."));
	var_Items->AddLink(TVariant("Link1"),h,TVariant(""),h1,TVariant("E"));
	var_Items->set_Link(TVariant("Link1"),Exg2anttlib_tlb::LinkPropertyEnum::exLinkStartPos,TVariant(0));
	var_Items->set_ExpandItem(h,true);
G2antt1->EndUpdate();

750
How can I align the text/caption on the scroll bar
G2antt1->ScrollPartCaption[Exg2anttlib_tlb::ScrollBarEnum::exHScroll,Exg2anttlib_tlb::ScrollPartEnum::exLowerBackPart] = L"left";
G2antt1->ScrollPartCaptionAlignment[Exg2anttlib_tlb::ScrollBarEnum::exHScroll,Exg2anttlib_tlb::ScrollPartEnum::exLowerBackPart] = Exg2anttlib_tlb::AlignmentEnum::LeftAlignment;
G2antt1->ScrollPartCaption[Exg2anttlib_tlb::ScrollBarEnum::exHScroll,Exg2anttlib_tlb::ScrollPartEnum::exUpperBackPart] = L"right";
G2antt1->ScrollPartCaptionAlignment[Exg2anttlib_tlb::ScrollBarEnum::exHScroll,Exg2anttlib_tlb::ScrollPartEnum::exUpperBackPart] = Exg2anttlib_tlb::AlignmentEnum::RightAlignment;
G2antt1->ColumnAutoResize = false;
G2antt1->Columns->Add(L"1");
G2antt1->Columns->Add(L"2");
G2antt1->Columns->Add(L"3");
G2antt1->Columns->Add(L"4");

749
How do I programmatically control the position of the horizontal scroll bar in the chart area, so I can specify a range of dates to scorll within
G2antt1->BeginUpdate();
G2antt1->Columns->Add(L"Task");
Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->LevelCount = 2;
	var_Chart->set_PaneWidth(false,56);
	var_Chart->set_ScrollRange(Exg2anttlib_tlb::ScrollRangeEnum::exStartDate,TVariant(TDateTime(2001,1,1).operator double()));
	var_Chart->set_ScrollRange(Exg2anttlib_tlb::ScrollRangeEnum::exEndDate,TVariant(TDateTime(2001,1,31).operator double()));
	var_Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,12).operator double()));
G2antt1->ScrollPartCaption[Exg2anttlib_tlb::ScrollBarEnum::exHChartScroll,Exg2anttlib_tlb::ScrollPartEnum::exLowerBackPart] = PChar(G2antt1->Chart->get_ScrollRange(Exg2anttlib_tlb::ScrollRangeEnum::exStartDate));
G2antt1->ScrollPartCaptionAlignment[Exg2anttlib_tlb::ScrollBarEnum::exHChartScroll,Exg2anttlib_tlb::ScrollPartEnum::exLowerBackPart] = Exg2anttlib_tlb::AlignmentEnum::LeftAlignment;
G2antt1->ScrollPartCaption[Exg2anttlib_tlb::ScrollBarEnum::exHChartScroll,Exg2anttlib_tlb::ScrollPartEnum::exUpperBackPart] = PChar(G2antt1->Chart->get_ScrollRange(Exg2anttlib_tlb::ScrollRangeEnum::exEndDate));
G2antt1->ScrollPartCaptionAlignment[Exg2anttlib_tlb::ScrollBarEnum::exHChartScroll,Exg2anttlib_tlb::ScrollPartEnum::exUpperBackPart] = Exg2anttlib_tlb::AlignmentEnum::RightAlignment;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Task 1"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,15).operator double()),TVariant(TDateTime(2001,1,18).operator double()),TVariant("K1"),TNoParam());
	h = var_Items->AddItem(TVariant("Task 1"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,5).operator double()),TVariant(TDateTime(2001,1,11).operator double()),TVariant("K1"),TNoParam());
G2antt1->EndUpdate();

748
How can I programmatically control the position of the "splitter" between the item list on the left side and the gantt chart on the right
G2antt1->Chart->set_PaneWidth(true,196);

747
How can I add a milestone bar and some text in the chart area

G2antt1->Columns->Add(L"Task");
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Task 1"));
	var_Items->AddBar(h,TVariant("Milestone"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,2).operator double()),TNoParam(),TVariant("<a1>text</a> outside"));
	var_Items->set_ItemBar(h,TNoParam(),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarHAlignCaption,TVariant(18));

746
How can I display or align the bar's caption or text outside of the bar

G2antt1->Columns->Add(L"Task");
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
G2antt1->DefaultItemHeight = 32;
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Task 1"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,3).operator double()),TVariant(TDateTime(2001,1,5).operator double()),TVariant("K1"),TNoParam());
	var_Items->set_ItemBar(h,TVariant("K1"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarCaption,TVariant("<b>to do</b>"));
	var_Items->set_ItemBar(h,TVariant("K1"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarHAlignCaption,TVariant(18));
	var_Items->set_ItemBar(h,TVariant("K1"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarVAlignCaption,TVariant(16));

745
How can I display or align the bar's caption or text outside of the bar

G2antt1->Columns->Add(L"Task");
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Task 1"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,4).operator double()),TVariant(TDateTime(2001,1,6).operator double()),TVariant("K1"),TNoParam());
	var_Items->set_ItemBar(h,TVariant("K1"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarCaption,TVariant("to do"));
	var_Items->set_ItemBar(h,TVariant("K1"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarHAlignCaption,TVariant(16));

744
How can I display or align the bar's caption or text outside of the bar

G2antt1->Columns->Add(L"Task");
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Task 1"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,6).operator double()),TVariant("K1"),TNoParam());
	var_Items->set_ItemBar(h,TVariant("K1"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarCaption,TVariant("to do "));
	var_Items->set_ItemBar(h,TVariant("K1"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarHAlignCaption,TVariant(18));

743
Is there any option to keep the working days being constant while user moves the bar
G2antt1->BeginUpdate();
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2002,1,1).operator double()));
G2antt1->Chart->Bars->Add(L"Task:Split")->Shortcut = L"Task";
G2antt1->Columns->Add(L"Task");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Task 1"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2002,1,2).operator double()),TVariant(TDateTime(2002,1,4).operator double()),TVariant("A"),TNoParam());
	var_Items->set_ItemBar(h,TVariant("A"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarKeepWorkingCount,TVariant(true));
G2antt1->EndUpdate();

742
Is there any option to count or to specify the working days

G2antt1->BeginUpdate();
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2002,1,1).operator double()));
G2antt1->Columns->Add(L"Task");
G2antt1->Chart->Bars->Add(L"Task:Split")->Shortcut = L"S";
G2antt1->Chart->set_PaneWidth(false,48);
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Task 1"));
	var_Items->AddBar(h,TVariant("S"),TVariant(TDateTime(2002,1,3).operator double()),TVariant(TDateTime(2002,1,4).operator double()),TVariant("A"),TNoParam());
	var_Items->set_ItemBar(h,TVariant("A"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarWorkingCount,TVariant(4));
G2antt1->EndUpdate();

741
How do I select the next row/item
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddItem(TVariant("Item 1"));
	var_Items->AddItem(TVariant("Item 2"));
	var_Items->AddItem(TVariant("Item 3"));
	var_Items->set_SelectItem(var_Items->get_NextVisibleItem(var_Items->FocusItem),true);

740
How do I get the selected bars or links

G2antt1->BeginUpdate();
G2antt1->Chart->AllowSelectObjects = Exg2anttlib_tlb::SelectObjectsEnum::exSelectBarsOnly;
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2002,1,1).operator double()));
G2antt1->Columns->Add(L"Task");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Task 1"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2002,1,2).operator double()),TVariant(TDateTime(2002,1,4).operator double()),TVariant("A"),TNoParam());
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2002,1,6).operator double()),TVariant(TDateTime(2002,1,10).operator double()),TVariant("B"),TNoParam());
	var_Items->set_ItemBar(h,TVariant("A"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarSelected,TVariant(true));
G2antt1->EndUpdate();
OutputDebugString( L"Bars" );
OutputDebugString( PChar(G2antt1->Items->get_SelectedObjects(Exg2anttlib_tlb::SelectObjectsEnum::exSelectBarsOnly)) );
OutputDebugString( L"Links" );
OutputDebugString( PChar(G2antt1->Items->get_SelectedObjects(Exg2anttlib_tlb::SelectObjectsEnum::exSelectLinksOnly)) );

739
How can I allow a single link being selected in the chart

G2antt1->BeginUpdate();
G2antt1->Chart->AllowSelectObjects = Exg2anttlib_tlb::SelectObjectsEnum::exSelectSingleObject | Exg2anttlib_tlb::SelectObjectsEnum::exSelectLinksOnly;
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2002,1,1).operator double()));
G2antt1->Columns->Add(L"Task");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h1 = var_Items->AddItem(TVariant("Task 1"));
	var_Items->AddBar(h1,TVariant("Task"),TVariant(TDateTime(2002,1,2).operator double()),TVariant(TDateTime(2002,1,4).operator double()),TVariant("A"),TNoParam());
	long h2 = var_Items->AddItem(TVariant("Task 2"));
	var_Items->AddBar(h2,TVariant("Task"),TVariant(TDateTime(2002,1,6).operator double()),TVariant(TDateTime(2002,1,10).operator double()),TVariant("B"),TNoParam());
	var_Items->AddLink(TVariant("AB"),h1,TVariant("A"),h2,TVariant("B"));
	var_Items->AddLink(TVariant("BA"),h2,TVariant("B"),h1,TVariant("A"));
	var_Items->set_Link(TVariant("AB"),Exg2anttlib_tlb::LinkPropertyEnum::exLinkSelected,TVariant(true));
G2antt1->EndUpdate();

738
How can I allow a single bar being selected in the chart

G2antt1->BeginUpdate();
G2antt1->Chart->AllowSelectObjects = Exg2anttlib_tlb::SelectObjectsEnum::exSelectSingleObject | Exg2anttlib_tlb::SelectObjectsEnum::exSelectBarsOnly;
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2002,1,1).operator double()));
G2antt1->Columns->Add(L"Task");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Task 1"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2002,1,2).operator double()),TVariant(TDateTime(2002,1,4).operator double()),TVariant("A"),TNoParam());
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2002,1,6).operator double()),TVariant(TDateTime(2002,1,10).operator double()),TVariant("B"),TNoParam());
	var_Items->set_ItemBar(h,TVariant("A"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarSelected,TVariant(true));
	var_Items->AddLink(TVariant("AB"),h,TVariant("A"),h,TVariant("B"));
G2antt1->EndUpdate();

737
How do I define the visual appearance of the bar by using your EBN/skin files

G2antt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
G2antt1->Chart->Bars->Copy(L"Task",L"EBN")->Color = 0x1000000;
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("EBN"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TNoParam(),TNoParam());
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 2")),TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TNoParam(),TNoParam());

736
Is it possible to have an "empty box" pattern for the bars

G2antt1->Chart->Bars->Copy(L"Task",L"Box")->Pattern = Exg2anttlib_tlb::PatternEnum::exPatternBox;
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Box"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TNoParam(),TNoParam());
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TNoParam(),TNoParam());

735
How do I enable resizing ( changing the height ) the items at runtime
G2antt1->ItemsAllowSizing = Exg2anttlib_tlb::ItemsAllowSizingEnum::exResizeItem;
G2antt1->DrawGridLines = Exg2anttlib_tlb::GridLinesEnum::exHLines;
G2antt1->ScrollBySingleLine = true;
G2antt1->Columns->Add(L"Column");
G2antt1->Items->AddItem(TVariant("Item 1"));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->set_ItemHeight(var_Items->AddItem(TVariant("Item 2")),48);
G2antt1->Items->AddItem(TVariant("Item 3"));

734
How do I enable resizing all the items at runtime
G2antt1->ItemsAllowSizing = Exg2anttlib_tlb::ItemsAllowSizingEnum::exResizeAllItems;
G2antt1->DrawGridLines = Exg2anttlib_tlb::GridLinesEnum::exHLines;
G2antt1->Columns->Add(L"Column");
G2antt1->Items->AddItem(TVariant("Item 1"));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->set_ItemHeight(var_Items->AddItem(TVariant("Item 2")),48);
G2antt1->Items->AddItem(TVariant("Item 3"));

733
How can I use your EBN files in the histogram

G2antt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
	var_Chart->HistogramVisible = true;
	var_Chart->HistogramHeight = 32;
	Exg2anttlib_tlb::IBarPtr var_Bar = var_Chart->Bars->get_Item(TVariant("Task"));
		var_Bar->HistogramPattern = Exg2anttlib_tlb::PatternEnum::exPatternEmpty;
		var_Bar->HistogramColor = 0x1000000;
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TNoParam(),TNoParam());
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2001,1,3).operator double()),TVariant(TDateTime(2001,1,7).operator double()),TNoParam(),TNoParam());

732
How can I draw only the shape of the bars in the histogram

Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
	var_Chart->HistogramVisible = true;
	var_Chart->HistogramHeight = 32;
	Exg2anttlib_tlb::IBarPtr var_Bar = var_Chart->Bars->get_Item(TVariant("Task"));
		var_Bar->HistogramPattern = Exg2anttlib_tlb::PatternEnum::exBezierCurve;
		var_Bar->HistogramColor = RGB(255,0,0);
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TNoParam(),TNoParam());
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2001,1,3).operator double()),TVariant(TDateTime(2001,1,7).operator double()),TNoParam(),TNoParam());

731
How can I draw only the shape of the bars in the histogram

Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
	var_Chart->HistogramVisible = true;
	var_Chart->HistogramHeight = 32;
	Exg2anttlib_tlb::IBarPtr var_Bar = var_Chart->Bars->get_Item(TVariant("Task"));
		var_Bar->HistogramPattern = Exg2anttlib_tlb::PatternEnum(0x100);
		var_Bar->HistogramColor = RGB(255,0,0);
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TNoParam(),TNoParam());
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2001,1,3).operator double()),TVariant(TDateTime(2001,1,7).operator double()),TNoParam(),TNoParam());

730
How can I change the color of bars in the histogram

Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
	var_Chart->HistogramVisible = true;
	var_Chart->HistogramHeight = 32;
	Exg2anttlib_tlb::IBarPtr var_Bar = var_Chart->Bars->get_Item(TVariant("Task"));
		var_Bar->HistogramPattern = Exg2anttlib_tlb::PatternEnum::exPatternBDiagonal;
		var_Bar->HistogramColor = RGB(255,0,0);
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TNoParam(),TNoParam());
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2001,1,3).operator double()),TVariant(TDateTime(2001,1,7).operator double()),TNoParam(),TNoParam());

729
How can I show my bars in the histogram

Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
	var_Chart->HistogramVisible = true;
	var_Chart->HistogramHeight = 32;
	var_Chart->Bars->get_Item(TVariant("Task"))->HistogramPattern = Exg2anttlib_tlb::PatternEnum::exPatternBDiagonal;
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TNoParam(),TNoParam());
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2001,1,3).operator double()),TVariant(TDateTime(2001,1,7).operator double()),TNoParam(),TNoParam());

728
I'm trying to use the percentage display in my gantt's bars. Unfortunately, I don't see any percentage on the gantt chart

G2antt1->Columns->Add(L"Task");
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
Exg2anttlib_tlb::IBarPtr var_Bar = G2antt1->Chart->Bars->Copy(L"Task",L"BarName");
	var_Bar->Color = RGB(255,0,0);
	var_Bar->Pattern = Exg2anttlib_tlb::PatternEnum::exPatternBDiagonal;
G2antt1->Chart->Bars->Add(L"BarName%Progress")->Shortcut = L"Percent";
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Task 1"));
	var_Items->AddBar(h,TVariant("Percent"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,6).operator double()),TVariant("K1"),TNoParam());
	var_Items->set_ItemBar(h,TVariant("K1"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarPercent,TVariant(0.4));
	var_Items->set_ItemBar(h,TVariant("K1"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarShowPercentCaption,TVariant(true));

727
How can I show the histogram
G2antt1->Chart->LevelCount = 2;
G2antt1->Chart->get_Level(0)->set_Label(TVariant(0));
Exg2anttlib_tlb::ILevelPtr var_Level = G2antt1->Chart->get_Level(1);
	var_Level->set_Label(TVariant("<%mr%>"));
	var_Level->Unit = Exg2anttlib_tlb::UnitEnum::exMonth;
G2antt1->Chart->HistogramVisible = true;

726
How I can show Months in Time Unit panel into Roman numerals

G2antt1->Chart->LevelCount = 2;
G2antt1->Chart->get_Level(0)->set_Label(TVariant(0));
Exg2anttlib_tlb::ILevelPtr var_Level = G2antt1->Chart->get_Level(1);
	var_Level->set_Label(TVariant("<%mr%>"));
	var_Level->Unit = Exg2anttlib_tlb::UnitEnum::exMonth;

725
Can I show a bar with a different vertical position

G2antt1->Columns->Add(L"Task");
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Opaque"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,6).operator double()),TVariant("K1"),TNoParam());
	h = var_Items->AddItem(TVariant("Transparent and Opaque"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,6).operator double()),TVariant("K1"),TNoParam());
	var_Items->set_ItemBar(h,TVariant("K1"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarOffset,TVariant("-3"));
	var_Items->set_ItemBar(h,TVariant("K1"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarTransparent,TVariant(80));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,3).operator double()),TVariant(TDateTime(2001,1,7).operator double()),TVariant("K2"),TNoParam());

724
How can I show transparent and opaque bars in the same chart

G2antt1->Columns->Add(L"Task");
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Opaque"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,6).operator double()),TVariant("K1"),TNoParam());
	h = var_Items->AddItem(TVariant("Transparent and Opaque"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,6).operator double()),TVariant("K1"),TNoParam());
	var_Items->set_ItemBar(h,TVariant("K1"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarOffset,TVariant("-3"));
	var_Items->set_ItemBar(h,TVariant("K1"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarTransparent,TVariant(80));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,3).operator double()),TVariant(TDateTime(2001,1,7).operator double()),TVariant("K2"),TNoParam());

723
How can I draw bars using transparent colors

G2antt1->Chart->ShowTransparentBars = 60;
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
G2antt1->Chart->Bars->Copy(L"Task",L"TaskR")->Color = RGB(255,0,0);
G2antt1->Chart->set_PaneWidth(false,48);
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Item 1"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,5).operator double()),TVariant("A"),TNoParam());
	var_Items->AddBar(h,TVariant("TaskR"),TVariant(TDateTime(2001,1,4).operator double()),TVariant(TDateTime(2001,1,7).operator double()),TVariant("B"),TNoParam());

722
How do I select bars and links in the chart area, by dragging
G2antt1->BeginUpdate();
G2antt1->Chart->AllowSelectObjects = Exg2anttlib_tlb::SelectObjectsEnum::exSelectObjects;
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2002,1,1).operator double()));
G2antt1->Columns->Add(L"Task");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h1 = var_Items->AddItem(TVariant("Task 1"));
	var_Items->AddBar(h1,TVariant("Task"),TVariant(TDateTime(2002,1,2).operator double()),TVariant(TDateTime(2002,1,4).operator double()),TVariant("A"),TNoParam());
	long h2 = var_Items->AddItem(TVariant("Task 2"));
	var_Items->AddBar(h2,TVariant("Task"),TVariant(TDateTime(2002,1,6).operator double()),TVariant(TDateTime(2002,1,10).operator double()),TVariant("B"),TNoParam());
	var_Items->AddLink(TVariant("AB"),h1,TVariant("A"),h2,TVariant("B"));
G2antt1->EndUpdate();

721
How do I remove, delete the objects like bars and links selected in the chart area
G2antt1->BeginUpdate();
G2antt1->Chart->AllowSelectObjects = Exg2anttlib_tlb::SelectObjectsEnum::exSelectObjects;
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2002,1,1).operator double()));
G2antt1->Columns->Add(L"Task");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h1 = var_Items->AddItem(TVariant("Task 1"));
	var_Items->AddBar(h1,TVariant("Task"),TVariant(TDateTime(2002,1,2).operator double()),TVariant(TDateTime(2002,1,4).operator double()),TVariant("A"),TNoParam());
	var_Items->set_ItemBar(h1,TVariant("A"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarSelected,TVariant(true));
	long h2 = var_Items->AddItem(TVariant("Task 2"));
	var_Items->AddBar(h2,TVariant("Task"),TVariant(TDateTime(2002,1,6).operator double()),TVariant(TDateTime(2002,1,10).operator double()),TVariant("B"),TNoParam());
	var_Items->AddLink(TVariant("AB"),h1,TVariant("A"),h2,TVariant("B"));
G2antt1->EndUpdate();
G2antt1->Chart->RemoveSelection();

720
How do I select links and bars in the chart area

G2antt1->BeginUpdate();
G2antt1->Chart->AllowSelectObjects = Exg2anttlib_tlb::SelectObjectsEnum::exSelectObjects;
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2002,1,1).operator double()));
G2antt1->Columns->Add(L"Task");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h1 = var_Items->AddItem(TVariant("Task 1"));
	var_Items->AddBar(h1,TVariant("Task"),TVariant(TDateTime(2002,1,2).operator double()),TVariant(TDateTime(2002,1,4).operator double()),TVariant("A"),TNoParam());
	var_Items->set_ItemBar(h1,TVariant("A"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarSelected,TVariant(true));
	long h2 = var_Items->AddItem(TVariant("Task 2"));
	var_Items->AddBar(h2,TVariant("Task"),TVariant(TDateTime(2002,1,6).operator double()),TVariant(TDateTime(2002,1,10).operator double()),TVariant("B"),TNoParam());
	var_Items->set_ItemBar(h2,TVariant("B"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarSelected,TVariant(true));
	var_Items->AddLink(TVariant("AB"),h1,TVariant("A"),h2,TVariant("B"));
	var_Items->set_Link(TVariant("AB"),Exg2anttlib_tlb::LinkPropertyEnum::exLinkSelected,TVariant(true));
G2antt1->EndUpdate();

719
How do I select links in the chart area

G2antt1->BeginUpdate();
G2antt1->Chart->AllowSelectObjects = Exg2anttlib_tlb::SelectObjectsEnum::exSelectLinksOnly;
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2002,1,1).operator double()));
G2antt1->Columns->Add(L"Task");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h1 = var_Items->AddItem(TVariant("Task 1"));
	var_Items->AddBar(h1,TVariant("Task"),TVariant(TDateTime(2002,1,2).operator double()),TVariant(TDateTime(2002,1,4).operator double()),TVariant("A"),TNoParam());
	long h2 = var_Items->AddItem(TVariant("Task 2"));
	var_Items->AddBar(h2,TVariant("Task"),TVariant(TDateTime(2002,1,6).operator double()),TVariant(TDateTime(2002,1,10).operator double()),TVariant("B"),TNoParam());
	var_Items->AddLink(TVariant("AB"),h1,TVariant("A"),h2,TVariant("B"));
	var_Items->set_Link(TVariant("AB"),Exg2anttlib_tlb::LinkPropertyEnum::exLinkSelected,TVariant(true));
G2antt1->EndUpdate();

718
How do I select bars, or tasks in the chart area
G2antt1->BeginUpdate();
G2antt1->Chart->AllowSelectObjects = Exg2anttlib_tlb::SelectObjectsEnum::exSelectBarsOnly;
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2002,1,1).operator double()));
G2antt1->Columns->Add(L"Task");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Task 1"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2002,1,2).operator double()),TVariant(TDateTime(2002,1,4).operator double()),TVariant("A"),TNoParam());
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2002,1,6).operator double()),TVariant(TDateTime(2002,1,10).operator double()),TVariant("B"),TNoParam());
	var_Items->set_ItemBar(h,TVariant("A"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarSelected,TVariant(true));
	var_Items->AddLink(TVariant("AB"),h,TVariant("A"),h,TVariant("B"));
G2antt1->EndUpdate();

717
Can I change the Task bar so it display a Progress or a Percent bar, but it is splitted when the task intersect a non working area

Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->ShowTransparentBars = 60;
	var_Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
	var_Chart->Bars->Add(L"Task%Progress:Split")->Shortcut = L"Task";
	var_Chart->set_PaneWidth(false,48);
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Item 1"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,16).operator double()),TVariant("K1"),TNoParam());
	var_Items->set_ItemBar(h,TVariant("K1"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarPercent,TVariant(0.15));
	var_Items->set_ItemBar(h,TVariant("K1"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarShowPercentCaption,TVariant(true));

716
Can I change the Task bar so it display a Progress or a Percent bar

Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
	var_Chart->Bars->Add(L"Task%Progress")->Shortcut = L"Task";
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Item 1"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,5).operator double()),TVariant("K1"),TNoParam());
	var_Items->set_ItemBar(h,TVariant("K1"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarPercent,TVariant(0.15));
	var_Items->set_ItemBar(h,TVariant("K1"),Exg2anttlib_tlb::ItemBarPropertyEnum::exBarShowPercentCaption,TVariant(true));

715
How can I remove the filter
Exg2anttlib_tlb::IColumnPtr var_Column = G2antt1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Exg2anttlib_tlb::FilterTypeEnum::exBlanks;
G2antt1->ApplyFilter();
G2antt1->ClearFilter();

714
I use the ShowEmptyBars property, but I display seconds from 15 to 15, and the bars are not shown correctly. What can I do

G2antt1->SelBackColor = RGB(255,0,0);
G2antt1->BeginUpdate();
Exg2anttlib_tlb::IChartPtr var_Chart = G2antt1->Chart;
	var_Chart->AllowCreateBar = Exg2anttlib_tlb::CreateBarEnum::exCreateBarAuto;
	var_Chart->set_FirstVisibleDate(TVariant(TDateTime(2002,1,1).operator double()));
	var_Chart->LevelCount = 2;
	var_Chart->get_Level(0)->set_Label(TVariant(1048576));
	Exg2anttlib_tlb::ILevelPtr var_Level = var_Chart->get_Level(1);
		var_Level->set_Label(TVariant("<%ss%>"));
		var_Level->Count = 15;
	var_Chart->ShowEmptyBars = 15;
	var_Chart->ShowEmptyBarsUnit = Exg2anttlib_tlb::UnitEnum::exSecond;
	var_Chart->set_PaneWidth(false,48);
G2antt1->Columns->Add(L"Task");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Task 1"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2002,1,1,0,00,15,0).operator double()),TVariant(TDateTime(2002,1,1,0,00,15,0).operator double()),TVariant("A"),TNoParam());
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2002,1,1,0,01,15,0).operator double()),TVariant(TDateTime(2002,1,1,0,01,30,0).operator double()),TVariant("B"),TNoParam());
	var_Items->AddLink(TVariant("AB"),h,TVariant("A"),h,TVariant("B"));
G2antt1->EndUpdate();

713
I need the bar works like in the MS Project, where task from 1/1/2001 to 1/1/2001 must display 1 day
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
G2antt1->Chart->ShowEmptyBars = 1;
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2001,1,1).operator double()),TVariant(TDateTime(2001,1,1).operator double()),TNoParam(),TNoParam());

712
I have a bar that has the start and end date identical. Nothing is displayed. What can I do
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
G2antt1->Chart->ShowEmptyBars = 1;
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,2).operator double()),TNoParam(),TNoParam());

711
How can I display seconds and bars for 15 to 15

G2antt1->BeginUpdate();
G2antt1->Chart->AllowCreateBar = Exg2anttlib_tlb::CreateBarEnum::exCreateBarAuto;
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2002,1,1).operator double()));
G2antt1->Chart->LevelCount = 2;
G2antt1->Chart->ShowEmptyBars = 0;
G2antt1->Chart->get_Level(0)->set_Label(TVariant(1048576));
Exg2anttlib_tlb::ILevelPtr var_Level = G2antt1->Chart->get_Level(1);
	var_Level->set_Label(TVariant("<%ss%>"));
	var_Level->Count = 15;
G2antt1->Chart->set_PaneWidth(false,48);
G2antt1->Chart->Bars->Copy(L"Task",L"Task2")->Color = RGB(255,0,0);
G2antt1->Columns->Add(L"Task");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	long h = var_Items->AddItem(TVariant("Task 1"));
	var_Items->AddBar(h,TVariant("Task"),TVariant(TDateTime(2002,1,1,0,00,15,0).operator double()),TVariant(TDateTime(2002,1,1,0,00,45,0).operator double()),TVariant("A"),TNoParam());
	var_Items->AddBar(h,TVariant("Task2"),TVariant(TDateTime(2002,1,1,0,01,15,0).operator double()),TVariant(TDateTime(2002,1,1,0,01,45,0).operator double()),TVariant("B"),TNoParam());
	var_Items->AddLink(TVariant("AB"),h,TVariant("A"),h,TVariant("B"));
G2antt1->EndUpdate();

710
How can I vertically display the column's caption, in the header

G2antt1->Columns->Add(L"A")->HeaderVertical = true;
G2antt1->Columns->Add(L"B")->HeaderVertical = true;
G2antt1->Columns->Add(L"H")->HeaderVertical = false;

709
How can I copy a predefined bar
G2antt1->Chart->Bars->Copy(L"Task",L"T2")->Color = RGB(255,0,0);
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("T2"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TNoParam(),TNoParam());

708
How can I define my own custom bar, using my icons or pictures

G2antt1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
Exg2anttlib_tlb::IBarsPtr var_Bars = G2antt1->Chart->Bars;
	var_Bars->AddShapeCorner(TVariant(12345),TVariant(1));
	var_Bars->AddShapeCorner(TVariant(22345),TVariant(2));
	Exg2anttlib_tlb::IBarPtr var_Bar = var_Bars->Add(L"T2");
		var_Bar->StartShape = Exg2anttlib_tlb::ShapeCornerEnum(0x5740 | Exg2anttlib_tlb::ShapeCornerEnum::exShapeIconCircleUp1);
		var_Bar->EndShape = Exg2anttlib_tlb::ShapeCornerEnum(0x3020 | Exg2anttlib_tlb::ShapeCornerEnum::exShapeIconVBar | Exg2anttlib_tlb::ShapeCornerEnum::exShapeIconRight);
		var_Bar->EndColor = RGB(255,0,0);
		var_Bar->Pattern = Exg2anttlib_tlb::PatternEnum::exPatternDot;
		var_Bar->Color = RGB(255,0,255);
		var_Bar->Shape = Exg2anttlib_tlb::ShapeBarEnum::exShapeThinCenter;
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("T2"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TNoParam(),TNoParam());

707
How can I access a predefined bar
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TNoParam(),TNoParam());
G2antt1->Chart->Bars->get_Item(TVariant("Task"))->Color = RGB(255,0,0);

706
How can I access a predefined bar
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TNoParam(),TNoParam());
G2antt1->Chart->Bars->get_Item(TVariant("Task"))->Color = RGB(255,0,0);

705
How can I remove all predefined bars
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TNoParam(),TNoParam());

704
How can I remove a predefined bar
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TNoParam(),TNoParam());

703
How do I get the number of predefined bars
G2antt1->Columns->Add(PChar(G2antt1->Chart->Bars->Count));

702
How can I change the shape of the task bar

Exg2anttlib_tlb::IBarPtr var_Bar = G2antt1->Chart->Bars->Copy(L"Task",L"T2");
	var_Bar->EndShape = Exg2anttlib_tlb::ShapeCornerEnum::exShapeIconDown1;
	var_Bar->EndColor = RGB(255,0,0);
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("T2"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TNoParam(),TNoParam());
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 2")),TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TNoParam(),TNoParam());

701
How can I change the ending shape for all task bars

Exg2anttlib_tlb::IBarPtr var_Bar = G2antt1->Chart->Bars->get_Item(TVariant("Task"));
	var_Bar->EndShape = Exg2anttlib_tlb::ShapeCornerEnum::exShapeIconUp1;
	var_Bar->EndColor = RGB(255,0,0);
G2antt1->Chart->set_FirstVisibleDate(TVariant(TDateTime(2001,1,1).operator double()));
G2antt1->Columns->Add(L"Column");
Exg2anttlib_tlb::IItemsPtr var_Items = G2antt1->Items;
	var_Items->AddBar(var_Items->AddItem(TVariant("Item 1")),TVariant("Task"),TVariant(TDateTime(2001,1,2).operator double()),TVariant(TDateTime(2001,1,4).operator double()),TNoParam(),TNoParam());